Help if possible with this sesion array (named sessvar.php).
session_start();
if(!session_is_registered("Fruit")) {
$Fruit=array();
session_register("Fruit");
$Fruit[]="Apple";
$Fruit[]="Orange";
}
for($i=0; $i<5; $i++) {
print "$Fruit[$i]<br>";
Okay that's not a problem...How would I add to that variable from an outside URL i.e. sessvar.php?Fruit[]=banana?
And have all of these variables available in the $Fruit session variable for later use?