saving selection from drop down list to php global variable

I am need to save the selection from the drop down list to the Global status variable. How can I save it within the loop for the selection or any other way. I am new to php and would appreciate your help.

Thanks Samm

Select Status Type <?php foreach ($statuses as $stat) { if ($data['ProjectStatus'] == $stat){ echo "$stat"; } else { echo "$stat"; } if ($_GET['Status'] == $stat { $Globals['Status'] = $stat; }
                  }

You really need to go study form basics. Too much wrong here to even get into it. Come back with a correct form and I will be happy to help you. I wont be doing you any good if I just give you the code.

Sponsor our Newsletter | Privacy Policy | Terms of Service