note 106945 deleted from features.sessions by tularis

From: Date: Thu, 22 Dec 2011 20:37:23 +0000
Subject: note 106945 deleted from features.sessions by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-185213@lists.php.net to get a copy of this message
Note Submitter: kuky Reason: non-english ---- on example of session: <?php session_start(); //it appears just one set of dates 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>

« previous php.notes (#185213) next »