You don't have to reload three times!!! Just make the first two in static html and the third one with PHP like this:
<? $qry = "SELECT category_id, category_name from tblCategories"; $result = mysql_query($query); ?> <form method="POST" name="criteria" action="my_postpage.php"> <select name="categories"> <? while ($category_array = mysql_fetch_array($result)) { print "<OPTION value=".category_array["category_id"]."> $category_array[category_name]</OPTION>"; } ?> </select> MVG Marij ------------------------------------- The information included in this message is personal and/or confidential and intended exclusively for the addressees as stated. This message and/or the accompanying documents may contain confidential information and should be handled accordingly. If you are not the intended reader of this message, we urgently request that you notify Centric immediately and that you delete this e-mail and any copies of it from your system and destroy any printouts immediately. It is forbidden to distribute, reproduce, use or disclose the information in this e-mail to third parties without obtaining prior permission from Centric. We expressly point out that there are risks associated with the use of e-mail. Centric and the companies within the group shall not accept any liability whatsoever for damage resulting from the use of e-mail. Legally binding obligations can only arise for Centric by means of a written instrument, signed by an authorized representative of Centric. ------------------------------------- -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php