We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15001
    • 697 Posts
    Hello,

    I’m trying to read some field from a form submitted with the POST method.

    <input type="text" name="prenom" id="prenom" size="21" maxlength="21" />
    <?php
    
     if (isset($_POST['prenom'])){$msg="Prénom :".$_POST['prenom']."\n";}
      ...


    Then, the php script sends an email with $msg as content.

    In the message received, I can read "Prénom :" but not its value.

    Could someone help me to find what’s wrong with my code ?
    Many thanks.