First, thanks for your help. Here is what I have… in add_p_mat.php there is the following:
require_once “include/functions.php”;
…
$query2"); while ( $row2 = mysql_fetch_object($result2) ) { eval("\$ret_out .= \"$VAL_ID\";"); eval("if ( \$CURRENT == \$row2->$VAL_ID ) \$ret_out .= \" selected\";"); eval("\$ret_out .= \">\".stripslashes(\$row2->$VAL_NAME).\"\n\";"); } return $ret_out; } ... ?> ===
The following information is contained in the materials table
id matType matName matDescr productCode qty
What I’d like to be able to do is to have “matType:matName” in the drop down box, not just “matName”, and it would be even better if the drop down sorts by matType. I’d appreciate some ideas. Thanks