hello guys,
is this possible, i have this form, and a sessionarray.php,
how will i stored mulitple variable in a session coming from form, w/o inserting it to dbase. I want to make the output became like example below. How will i do this?
//output of sessionarray.php
gail //print input name #1
mark //print input name #2
eli //print input name #3
Insert name again // <- this is the link if you want to insert another name
<form action="sessionarray.php" method="post">
name<input type="text" name="name" size="20">
<input type="submit" name="submit" value="submit">
</form>
//sessionarray.php
session_start();
$sname=$_POST['name'];
$_SESSION['name']=$sname;
print($_SESSION['name']);
print "<br><br>";
print "<a href=multiarray.php>Insert name again</a>";