<option value=<?=$row['area']?>><?=$row['area']?></option>
is the culprit. instead use <option value="<?=$row['area']?>><?=$row['area']?>"</option> what u missed were the double quotes around the value. u HAVE TO do that for values with space in between . regards, -shiva "Nabil" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have a form like: > > <select size="1" name="area"> > . > . > while($row = mysql_fetch_array($result)) > { > ?> > <option value=<?=$row['area']?>><?=$row['area']?></option> > <? > . > . > > 1- if the fetched is only one word, i have no problem BUT > 2- When i have $row=['area'] ecual to "happy day" that came form MySQL (as > two word with a space). > 3- I have a problem when submit the form , if i echo $_POST['area'] in the > action file .. i got only "happy" without "day" > > Please help me , because i m going to pull my hair off... > > Nabil > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php