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 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. 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>"; 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. Link to comment https://forums.phpfreaks.com/topic/57068-select-help/#findComment-281963 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.