FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » populate pulldownbox from query
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: populate pulldownbox from query [message #174056 is a reply to message #174051] Fri, 20 May 2011 20:06 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Fri, 20 May 2011 11:30:02 -0700, Co wrote:

> Can anyone help me here?

General observation, html attributes, such as the select name, option
values etc should be enclosed in quotes at the html level, such as one of
the following:

echo "<option value='$some_var_name'>some text</value>";
echo "<option value=\"$some_var_name\">some text</value>";
echo '<option value="$some_var_name">some text</value>';

Rgds

Denis McMahon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: he
Next Topic: Detecting Redirected Output
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 20:37:33 GMT 2024

Total time taken to generate the page: 0.04816 seconds