Re: [PHP] Re: What am I doing wrong - PHP

2004-11-13 Thread Stuart Felenstein
--- M. Sokolewicz [EMAIL PROTECTED] wrote: I would suggest writing it like this: [snip] I'm getting the page now with the box but no values inside. Database conn is fine and all. I can print out the value , just can't get them to show up inside form element (Multiple select)

Re: [PHP] Re: What am I doing wrong - PHP

2004-11-13 Thread Jason Wong
On Saturday 13 November 2004 17:40, Stuart Felenstein wrote: //I tried MYSQL_ASSOC, NUM and BOTH, no diff while($row = mysql_fetch_array($inds, MYSQL_BOTH)) { echo 'option value='.$inds['CareerIDs'].''.$inds['CareerCategories'].'/option'; } $row is what contains the data you're grabbing

Re: [PHP] Re: What am I doing wrong - PHP

2004-11-13 Thread Stuart Felenstein
--- Jason Wong [EMAIL PROTECTED] wrote: $row is what contains the data you're grabbing from the DB and you're not using it Jason Wong - Gremlins Associates - Thank you Jason, its working now ! Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: What am I doing wrong - PHP

2004-11-12 Thread M. Sokolewicz
Stuart Felenstein wrote: Ok, hopefully I can explain this clearly, even though I think I might be an idiot since Ive been going on about this for a few days. I have a table that holds values and labels i.e. 1 = New York 2 = Boston 3 = Kansas City 4 = Amsterdam I want to put this