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

Subscribe to our news:
Partners
Testimonials
Patrick Biegel: "Thanks a lot for your fast reply and the great solution! It works now and that's really important! The PHP Generator for MySQL is a great software".
David Lantz: "Thank you, this is by far the simplest, and most friendly utility for building db record system I have ever used. I wish I could get my systems guys at the office to purchase this for our company would be so very helpful and speed up a lot of work. I for one have used it for everything from a simple inventory record of my house, to a members record for my church just little pet projects and a test bed to test my own db builds and theories before having to hand code at the office..... it is a lot of fun to work with".

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