This topic is locked

Auto_Increment Fields Dont Appear In Registration Email

5/22/2013 11:36:39 AM
PHPRunner General questions
I
itmann author

Hello all,
i have a small problem.

i created a registeration form for our clients that contains regular fields (name,address,email,tel number etc).the primery key filed is "client-id" and is defined as AUTO_INCREMENT in mysql table.

in PHPRunner i checked the option "send email to user". then i did a test registeration. i received an email containing all values i entered in the registeration form except the "client-id". it's empty...i dont know why?
any ideas how to get the client-id displayed in the email?
thanks for help

C
cgphp 5/22/2013

If you check off the "Send email to user" option, I suppose it will send an email message with the fields you have selected to appear on the registration page. You can send a custom email from the "After successful registration" event as an alternative solution.

I
itmann author 5/22/2013

thanks for the hint christian, do you have any helpful thread for me to get this done?

Sergey Kornilov admin 5/22/2013

Here is what AfterSuccessfulRegistration event is:

http://xlinesoft.com/phprunner/docs/after_successful_registration.htm
Here are example of sending email from events:

http://xlinesoft.com/phprunner/docs/runner_mail_function.htm