My problem might come from the fact that I am trying to do some of this as if I was still working in PERL. I need to pull out this info from the database and fetch object would not work. I am pulling integers and strings from the database. I am sure this is something that I am missing due to lack of knowledge in php. I tried to find an answer but I believe my problem there was how to state the question.
foreach ( $HTTP_GET_VARS as $key=>$value) {
$result = mysql_db_query ("accent", "select * from Parts where PartID=$value and IDNumb=$key");
while($row = mysql_fetch_array($result)) {
if ( $row["PartName"] =="None" ) {
echo "<input type=\"hidden\" name=\"$IDNumb\" value=http://www.phpbuilder.com/board/archive/index.php/\"$PartID\">";
$flag++;
} else {
echo "<font size=\"2\"><input type=\"hidden\" name=\"$IDNumb\" value=\"$PartID\">$PartName</font><br>";
foreach ( $HTTP_GET_VARS as $key=>$value) {
$result = mysql_db_query ("accent", "select * from Parts where PartID=$value and IDNumb=$key");
while($row = mysql_fetch_array($result)) {
if ( $row["PartName"] =="None" ) {
echo "<input type=\"hidden\" name=\"$IDNumb\" value=http://www.phpbuilder.com/board/archive/index.php/\"$PartID\">";
$flag++;
} else {
echo "<font size=\"2\"><input type=\"hidden\" name=\"$IDNumb\" value=\"$PartID\">$PartName</font><br>";