- To: php-db@xxxxxxxxxxxxx
- Subject: Re: radio form submission
- From: Karl DeSaulniers <karl@xxxxxxxxxxxxxxx>
- Date: Thu, 23 Jun 2011 15:19:00 -0500
- In-reply-to: <BANLkTind-g=3hY2aoST_8US3o8XanEADfg@mail.gmail.com>
I also think you need to use the mysql_free_result like so..
echo '<select name="store_mar">';
while($row = mysql_fetch_assoc($result))
{
echo '<option value="' . $row['mar_id'] . '">' .
$row['mar_name'] . '</option>';
mysql_free_result($result);
}
echo '</select><br /><br />';
If I am incorrect, please, someone interject. :)
Best,
Karl
On Jun 23, 2011, at 1:18 PM, Chris Stinemetz wrote:
echo '<select name="store_mar">';
while($row = mysql_fetch_assoc($result))
{
echo '<option value="' . $row['mar_id'] . '">' .
$row['mar_name'] . '</option>';
}
echo '</select><br /><br />';
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[PHP Home]
[PHP Users]
[Postgresql Discussion]
[Kernel Newbies]
[Plagiarism Notes]
[Postgresql]
[Yosemite News]