Location: PHPKode > projects > PHP Gateway > e-comm/catalog/images.php
<?
print("<b><big>Product Wizard</big></b><br>Brand Selection, Please select the brand of your shirt from the drop down Menu. If the brand isn't in there. Either add the brand if it will be common on the <i>brand administration</i> page. Or select 'other'. Selecting a brand helps users to find the shirt by brand on the site.");
print("<center><br><br>Select a <i>brand</i>");

require("../inf.php");
mysql_connect("$host", "$user", "$pass	");
mysql_select_db("sportplus");


$qarry = mysql_query("SELECT * from brands");

print("<form action=images2.php method=post>");
print("<select name='brand'>");

if($row = mysql_fetch_array($qarry))
{
	do
	{
		print("<option value='".$row[id]."'>".$row[TITLE]."</option>");

	}while($row = mysql_fetch_array($qarry));
}
print("</select>");

print("<input type='hidden' name='pricat' value='".$_POST[pricat]."'>");
print("<input type='hidden' name='subcat' value='".$_POST[subcat]."'>");

print("<br><input type=submit value='Continue'>");
print("</form>");


?>
Return current item: PHP Gateway