ltoto Posted September 21, 2006 Share Posted September 21, 2006 i have an error which says:Notice: Undefined index: selectTypefrom this code[code]<?$row_rsForm = $_GET['selectType']; if ($row_rsForm == "Golf"){ ?> [/code]the select type is being picked up from another form, with this code, where it says golf changes on each form to what the select type is[code] header("Location:index.php?Id=18&type=".$_POST['selectType']);[/code]hope this makes sense...any suggestion.... Link to comment https://forums.phpfreaks.com/topic/21513-if-statement-around-form-help-needed/ Share on other sites More sharing options...
ltoto Posted September 21, 2006 Author Share Posted September 21, 2006 i chaged the get bit to post and use $ type$type = $_POST['selectType'];if ($type== "Golf"){ ?>which again i want to be picked up from thisheader("Location:index.php?Id=18&type=".$_POST['selectType']);any suggestions?? help is really needed now Smileyanyone at all, or do i need to give more info Link to comment https://forums.phpfreaks.com/topic/21513-if-statement-around-form-help-needed/#findComment-96020 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.