1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
<form id="contact" method="post" action="validation.php">
<?php
echo "<ul>";
while ($row = mysql_fetch_array($req_execute, MYSQL_NUM)) {
echo ("<li id='".$row[0]."'>$row[1] : "); //affiche un identifiant
echo '<a href="javascript:;" id="action"> modifier</a><br>';
echo "<div class=\"detail\">";
echo ("nom: <input type=\"text\" name=\"nom\"><br>");
echo ("tel: <input type=\"text\" name=\"tel\"><br>");
...
echo "<input type=\"submit\" value=\"je confirme\">";
echo "<input type=\"hidden\" id=\"identifiant\" name=\"identifiant\" value=$row[1]>";
echo "</div>";
echo "</li>";
}
echo "</ul>";
?>
</form> |
Partager