Re: radio form submission
| From: | Karl DeSaulniers | Date: | Thu, 23 Jun 2011 20:19:00 +0000 |
| Subject: | Re: radio form submission | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47871@lists.php.net to get a copy of this message | ||
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