Attila Posted August 8, 2008 Share Posted August 8, 2008 Hello not sure how to get the value into this on the stuff below: It is a php self form this is an addition to the form I already have working on the site so this is going into a variable they are $top_form $middle_form and $bottom_form. So the other parts of the form have the submit and stuff this is the middle part. <table> <tr> <td> <input type=\"radio\" name=\"AdvanceSearch\" value=\"{$_POST['radio']}\" /> Item Name</td> </tr> <tr> <td> <input type=\"radio\" name=\"AdvanceSearch\" value=\"2\" /> Item Description</td> </tr> <tr> <td> <input type=\"radio\" name=\"AdvanceSearch\" value=\"3\" /> Type</label></td> </tr> <tr> <td> <input type=\"radio\" name=\"AdvanceSearch\" value=\"4\" /> Quest Name</td> </tr> <tr> <td> <input type=\"radio\" name=\"AdvanceSearch\" value=\"5\" /> Level</td> </tr> <tr> <td> <input type=\"radio\" name=\"AdvanceSearch\" value=\"6\" /> Notes</label></td> </tr> </table>"; Link to comment https://forums.phpfreaks.com/topic/118857-solved-help-with-radio-group/ Share on other sites More sharing options...
MasterACE14 Posted August 9, 2008 Share Posted August 9, 2008 Try: <input type="radio\" name=\"AdvanceSearch\" value=\"".$_POST['radio']."\" /> Are you using the heredoc syntax for $top_form, $middle_form and $bottom_form ? Link to comment https://forums.phpfreaks.com/topic/118857-solved-help-with-radio-group/#findComment-612090 Share on other sites More sharing options...
Attila Posted August 9, 2008 Author Share Posted August 9, 2008 Sorry still a rookie not sure what you are talking about but I was able to get it to work. I will be putting up another post with another problem now. Thanks, Link to comment https://forums.phpfreaks.com/topic/118857-solved-help-with-radio-group/#findComment-612101 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.