Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form method="post" action="testformulaire4.php" >
- <table>
- <tr>
- <td>Prénom:</td>
- <td>
- <input type="text" name="prenom" value="<?php if (isset($_POST['prenom'])) echo htmlentities($_POST['prenom']) ; ?> "/>
- </td>
- </tr>
- <tr>
- <td>
- <?php
- if ( (!isset($_POST['prenom']) && isset($_POST['inscription']) && ($_POST['inscription']) <> "" )|| (isset($_POST['prenom']) && !ctype_alpha($_POST['prenom'])))
- {
- echo "<font color='#FF0000'>";
- echo ("<strong>Erreur le champ prénom n'a pas été rempli et/ou comporte des caractères non valides</strong>");
- }
- ?>
- </td>
- </tr>
Advertisement
Add Comment
Please, Sign In to add comment