Problem with the <br/> tag in a PHP code

Solved
tipex -  
biboo_ Posted messages 1462 Status Member -
Hello, I coded a small form and I’m having an issue on the page that returns the data. It’s the line break tag
that’s causing a problem with a parse error in the display. <?php echo "Bonjour, votre prénom est ".$_POST['prenom']." et votre nom est ".$_POST['nom']."
"; echo "Votre mot de passe est ".$_POST['code']; ?> Where should I place this
? Thank you :) Configuration: Windows XP / Internet Explorer 7.0

7 answers

  1. angelus1821 Posted messages 192 Registration date   Status Member Last intervention   16
     
    Hi
    try it like this:

    <?php
    echo "Hello, your first name is ".$_POST['prenom']." and your last name is ".$_POST['nom']. '<br/>';
    // you need to add the ' ' between the
    tag so it is interpreted and it will go to a new line

    echo "Your password is ".$_POST['code'];
    ?>
    1