include "../../../conf/database.inc"; $db_table="product"; $connect=mysql_connect($host,$db,$db_passwd); mysql_select_db($db,$connect); $query="select * from $db_table where P_fn='$code'"; $result=mysql_query($query,$connect); $row=mysql_fetch_array($result); if(!$submission) { $submission="0"; } ?>