help with jump menu and php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gato_grrr
    New Member
    • Jul 2006
    • 1

    help with jump menu and php

    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 :

    <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>
    and the php code that I'm using is with switch and include
    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;
    }
    }
    ?>
    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.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...