note 106940 added to faq.html

From: Date: Mon, 19 Dec 2011 23:39:37 +0000
Subject: note 106940 added to faq.html
Groups: php.notes 
Request: Send a blank email to php-notes+get-185168@lists.php.net to get a copy of this message
<?php session_start(); //problema nu e corecta pt ca apare doar un set de date introduse de user if(isset($_POST['submit'])) { $_SESSION['nume']=$_POST['nume']; $_SESSION['prenume']=$_POST['prenume']; $_SESSION['varsta']=$_POST['varsta'];} ?> <html> <head> <title>Subiectul 1 de la examen</title> </head> <body> <h2>Formular de introducere a datelor</h2> <form method="post" action=""> <p>Nume: <input type="text" name="nume"></p> <p>Prenume: <input type="text" name="prenume"</p> <p>Varsta: <input type="text" name="varsta"></p> <input type="submit" name="submit" value="Submit"> </form> <br> <table border='1'> <tr><th>Nume</th><th>Prenume</th><th>Varsta</th></tr> <tr><td><?php print $_SESSION['nume'] ;?></td> <td><?php print $_SESSION['prenume'] ;?></td> <td><?php print $_SESSION['varsta'];?></td></tr> </table> </body> </html> ---- Server IP: 69.147.83.197 Probable Submitter: 82.137.10.117 ---- Manual Page -- http://www.php.net/manual/en/faq.html.php Edit -- https://master.php.net/note/edit/106940 Del: integrated -- https://master.php.net/note/delete/106940/integrated Del: useless -- https://master.php.net/note/delete/106940/useless Del: bad code -- https://master.php.net/note/delete/106940/bad+code Del: spam -- https://master.php.net/note/delete/106940/spam Del: non-english -- https://master.php.net/note/delete/106940/non-english Del: in docs -- https://master.php.net/note/delete/106940/in+docs Del: other reasons-- https://master.php.net/note/delete/106940 Reject -- https://master.php.net/note/reject/106940 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#185168) next »