Sending the value of the variable ($code) in the mail

Home Forums Quform PHP Sending the value of the variable ($code) in the mail

This topic is: resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6410
    cruxy
    Participant

    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

    #6420
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #6425
    cruxy
    Participant

    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

    #6434
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #6447
    cruxy
    Participant

    Thank you Ally. It works perfect.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy