Location: PHPKode > projects > PHP Gateway > e-comm/catalog/2.php

	print "<b><big>Product Wizard</b></big>";
	print "<br>The product wizard now needs to determine a more specific level of orginization for the product to be entered.<br><br>";
	print "<center>To further organize your product, please choose a <i>Sub Category</i>.";
	print "<br>";
	print "<form action='images.php' method='post'>";
	print "<select name=subcat>";
	mysql_connect("$host", "$user", "$pass");
	$result = mysql_query("SELECT * from subcat WHERE P_ID = '".$_POST[pricat]."'");

	if($row = mysql_fetch_array($result))
			print("<option value=".$row[id].">".$row[TITLE]."</option>");
		}while($row = mysql_fetch_array($result));

	print "</select><br><input type=submit value='Continue'>";
	print("<input type='hidden' name='pricat' value='".$_POST[pricat]."'>");
	print "</form>";

Return current item: PHP Gateway