This is the code that is supposed to get the information from the database and display it into a table.
$sql_general=mysql_query("SELECT * FROM orderinfo WHERE ItemNumber = '$Items[$i]'");
$check_general = mysql_num_rows($sql_general);
if($check_general){
while($row = mysql_fetch_array($sql_general)){
foreach( $row AS $key => $val){
$$key = stripslashes($val);
}
session_register('SignType');
session_register('BackgroundColor');