Menu
I can’t seem to see why this would not work. Anyone have a minute to check it out? Its all part of purchaseorder.php
I have an echo statment at the top to show the value of
$_GET[‘venid’] to see if it works.
echo “<form name=’jump1′>”;
echo “<select name=’vendor’ OnChange=’location.href=jump1.vendor.options[selectedIndex].value’>”;
$recordset = mssql_query (“select * from vendors order by name”, $handle);
while($arr = mssql_fetch_row($recordset))
{
$venid = $arr[0];
$vendor = $arr[1];
echo “<option value=’purchaseorder.php?venid=$venid’>$vendor”;
}
echo “</select></td>”;
echo “</form>”;