The syntax for <SELECT> is:

<SELECT>
  <OPTION VALUE=[some value]> your text </OPTION>
  [...]
</SELECT>

If you want too populate a SELECT from a data base you can do something like
this:

</SELECT>
<? Get_Option_Items_As_HTML_From_DB(); ?>
<SELECT>


>-----Original Message-----
>From: Sandeep Murphy [mailto:[EMAIL PROTECTED]]
>Sent: Monday, February 11, 2002 1:06 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP-WIN] populating
>
>
>Hi,
>
>Can anyone pl guide me as to how I can populate a select box in my PHP
using
>the data from a table of an Mysql database..
>
>I can retrieve the data but unable to show that data in the 
>select box...

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

Reply via email to