Hi there,
I am have got a drop down form in PHP and it sends the value inside of “catid” to a field in the database. I was wondering if there was a way I could also send the selected ‘category’ text into a completely different field in the table.
<?php
echo '<select name="catid">';
if (mysql_num_rows($catresult)) {
while($row = mysql_fetch_assoc($catresult)) {
echo "<option value=\"{$row['catid']}\">{$row['category']}</option>";
}
echo "</select>";
}
?>