Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Johnson Sieu: "Your PHP Generator is the BEST that I have used so far. It is affordable and user-friendly. Congratulation for coming up with such a fine product. I will not hesitate to introduce it to my peers".
Svetlio Mitev: "I am really sure that you guys can make the best PHP code generators to be found worldwide".

More

Add your opinion

SQLite PHP Generator online Help

Prev Return to chapter overview Next

OnAfterUserRegistration event

This event occurs after a user is registered.

 

Signature:

function OnAfterUserRegistration ($userName, $email)

 

Parameters:

$userName

The name of the user.

$email

The email of the user.

 

Example

The code snippet below sends an email to the site administrator when a new user is registered.

 

$messageBody = "A new user $userName ($email) is registered";    

sendMailMessage('admin@example.com', 'A new user just registered', $messageBody);



Prev Return to chapter overview Next