Title: Send e-mail ans update database
Last modified: August 22, 2016

---

# Send e-mail ans update database

 *  [anthonyo2](https://wordpress.org/support/users/anthonyo2/)
 * (@anthonyo2)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/send-e-mail-ans-update-database/)
 * Hello,
 * I have a system of registration form sending user information to a table in my
   database, so that the user can log in if value of “active” in the table is set
   to “1”. The default value when the user registers is “0”, so it is impossible
   for him to connect because he need the value “1” to be able to log in.
 * I would therefore like when my client registers, automatically receives an e-
   mail to activate account and are making a “UPDATE” into my table to set the value
   of “active” to “1”
 * Can you help me on this, I understand PHP but I’m beginner.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [petercralen](https://wordpress.org/support/users/petercralen/)
 * (@petercralen)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/send-e-mail-ans-update-database/#post-5720565)
 * Hi,
    If you are beginner why do you use some table in database instead of regular
   wordpress registration which works well for purpose what you asked?
 *  Thread Starter [anthonyo2](https://wordpress.org/support/users/anthonyo2/)
 * (@anthonyo2)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/send-e-mail-ans-update-database/#post-5720622)
 * Because my service use platform in subfolder, so all user is not the same as 
   wordpress user.
 *  [petercralen](https://wordpress.org/support/users/petercralen/)
 * (@petercralen)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/send-e-mail-ans-update-database/#post-5720630)
 * So where is problem? If someone register in WordPress you did not receive email
   as admin?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Send e-mail ans update database’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [petercralen](https://wordpress.org/support/users/petercralen/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/send-e-mail-ans-update-database/#post-5720630)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
