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

Subscribe to our news:
Partners
Testimonials
Lucian Nedescu: "Thank you very much. Have a nice century (this is a real wish :P). I think that i will do a great job on my clients database with the new php interface. Thank You again".
Gabriela Arsene: "MySQL PHP Generator is really excellent! A very useful, easy to use tool and above all it is free, saving a lot of time and money to a developer! Great job! Congratulations to all the people who work at this project".

More

Add your opinion

PHP Generator for MySQL 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