I have an array, I press submit and the array no longer is found. How do I get the array to keep for future use in processing? Here is a small example im working with, thanks for the help. (Yes Ive read the manual sections and browsed the forum history and am still at a loss)
<?php
if ($submit){
print "test";
$size=sizeof($evt_array);
print_r($evt_array);
print $size;
}
else
{
$evt_array = array("yes","no","maybe");
print_r($evt_array);
print "first";
$size=sizeof($evt_array);
print $size;
print "<form action=\"work.php\" method=\"POST\">";
print "<input type=submit name=submit value=submit> <input type=reset name=reset value=reset onclick=\"javascript:document.location.href='work.php' \"></form>\n";
}
?>