Hey, I'm new here....looking for help I'm not sure if this is the right place...but anyway...
I made a registration form with a lot of options. I'm using one jump menu but when it jumps the other information is missing. Can anyone tell me a good way to store that info. I'm using this code :
and the php code that I'm using is with switch and include
like this one
But what I need is an example to store information (from an input), I would like to see what people write in my registration form. How can I keep this info safe?
Thanks in advance.
I made a registration form with a lot of options. I'm using one jump menu but when it jumps the other information is missing. Can anyone tell me a good way to store that info. I'm using this code :
<select name="menu1" onchange="MM_jumpMenu('parent',this,1)">
<option value="index.php?sic=0" selected="selected">cars</option>
<option value="index.php?sic=1">motels</option>
<option value="index.php?sic=2">landscapes</option>
</select>
<option value="index.php?sic=0" selected="selected">cars</option>
<option value="index.php?sic=1">motels</option>
<option value="index.php?sic=2">landscapes</option>
</select>
like this one
parse_str($_SERVER['QUERY_STRING']);
if (empty($sic)) {
include 'h.php';
} else {
switch($sic) {
case '0':
include_once('e.php');
break;
case '1':
include_once('l.php');
break;
case '2':
include_once('p.php');
break;
}
}
?>
if (empty($sic)) {
include 'h.php';
} else {
switch($sic) {
case '0':
include_once('e.php');
break;
case '1':
include_once('l.php');
break;
case '2':
include_once('p.php');
break;
}
}
?>
Thanks in advance.