nezbo Posted June 25, 2007 Share Posted June 25, 2007 Hi all I have this script in a form, it is trying to send a selection from the from to the next page. But the proble is that if the selection has a space in it, it only sends the first work to the next page. Please Help (newby in need) this is the code :: <select NAME='SiteName1'>"; while($getSN = mysql_fetch_array($getSiteName)) { echo "<option value=" . $getSN['SiteName'] . ">" . $getSN['SiteName'] . "</option>"; } echo "<tr><td align=left>Reported By : <td align=left><select NAME=RepBy>"; while($getSN2 = mysql_fetch_array($usersNames)) { echo "<option value=" . $getSN2['FullName'] . ">" . $getSN2['FullName'] . "</option>"; } Cheers Neil Quote Link to comment https://forums.phpfreaks.com/topic/57068-select-help/ Share on other sites More sharing options...
redarrow Posted June 25, 2007 Share Posted June 25, 2007 i dont see the problam sorry? close the select </select> dont no guessing. Quote Link to comment https://forums.phpfreaks.com/topic/57068-select-help/#findComment-281959 Share on other sites More sharing options...
sasa Posted June 25, 2007 Share Posted June 25, 2007 echo "<option value=\"" . $getSN['SiteName'] . "\">" . $getSN['SiteName'] . "</option>"; Quote Link to comment https://forums.phpfreaks.com/topic/57068-select-help/#findComment-281960 Share on other sites More sharing options...
nezbo Posted June 25, 2007 Author Share Posted June 25, 2007 Im easly impresed but i love PHP... Cheers sasa. Quote Link to comment https://forums.phpfreaks.com/topic/57068-select-help/#findComment-281963 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.