Title: database structure
Last modified: December 22, 2020

---

# database structure

 *  [sadegh12345](https://wordpress.org/support/users/sadegh12345/)
 * (@sadegh12345)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/database-structure-5/)
 * I am writing Rest API with PHP for my WordPress site and I have trouble in two
   areas:
    1) How can I compare a text with the password in the user table? Because
   the password is encrypted and I do not know how to compare? 2) how can read the
   metadata from the database tables fields? for example phone number. But when 
   I user some query like this (Select * from users) the fields I want not return?

Viewing 1 replies (of 1 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 5 months ago](https://wordpress.org/support/topic/database-structure-5/#post-13822645)
 * Here’s the database schema: [https://codex.wordpress.org/Database_Description](https://codex.wordpress.org/Database_Description)

Viewing 1 replies (of 1 total)

The topic ‘database structure’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [my-sql](https://wordpress.org/support/topic-tag/my-sql/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 1 reply
 * 3 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/database-structure-5/#post-13822645)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
