Home › Forums › Quform PHP › Sending the value of the variable ($code) in the mail
Hello,
I am using this code in the process.php
$mt_rand = mt_rand(100, 999); $code = "".$mt_rand."".ucfirst(strtolower($form->getValue('name')))."";
How can I send the value of $code in the mail?
Thanks in advance, Cruxy
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
Thank you very much for your fast reply and support.
I did, but when I use this line on the notification.php file I got nothing:
<?php echo $form->getValue('code'); ?>
Do I miss something here?
Thank you in advance for your support.
Cruxy
Thank you Ally. It works perfect.