Jump to content

Select <option> </option> help


nezbo

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.