RE: [PHP] question on listbox.

2003-02-01 Thread Leonard Burton
Might this be better? print "\n"; print "Select Category"\n //Query $sql="SELECT DISTINCT CategoryName From Categories ORDER BY CategoryName"; $result=mysql_query($sql); if ($result) { While($Category=mysql_fetch_array($result)) { Print"$Category['name']\n"; } mys

Re: [PHP] question on listbox.

2003-02-01 Thread Jason Wong
On Saturday 01 February 2003 20:40, Denis L. Menezes wrote: Please don't top-post. > Looks like I am too dumb. I still cannot do it. can u please help me > further? I could write out the complete code for you -- but then I'll have to charge you for it :-) OTOH I can walk you through the proces

Re: [PHP] question on listbox.

2003-02-01 Thread Denis L. Menezes
Thanks Jason. Looks like I am too dumb. I still cannot do it. can u please help me further? Thanks Denis - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 01, 2003 8:21 PM Subject: Re: [PHP] question on li

Re: [PHP] question on listbox.

2003-02-01 Thread Matt
- Original Message - From: "Denis L. Menezes" <[EMAIL PROTECTED]> To: "PHP general list" <[EMAIL PROTECTED]> Sent: Saturday, February 01, 2003 6:08 AM Subject: [PHP] question on listbox. Hello friends. >I have a listbox which I populate from a query with the database. It is >working fin

Re: [PHP] question on listbox.

2003-02-01 Thread Jason Wong
On Saturday 01 February 2003 19:08, Denis L. Menezes wrote: > Hello friends. > > I have a listbox which I populate from a query with the database. It is > working fine. But additinally, I want the first item to be "Select > category". Can someone please help me how to modify by below written code >