Re: inserting dynamic drop down menu data into mysql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Duane Barnes" <dbarnes@xxxxxxxxxx>

> $output .= "<option value=$category>$category</option>";

Put quotes around your values...

If you have

<option value=This and That>This and That</option>

how do you expect HTML to know you mean "This and That" as you're entire
value? It's not. It's going to take "This" and ignore the rest as
unrecognized attributes of the <option> element.

---John Holmes...

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux