I am grabbing the Query from the first page, $query = printquery. querynew is this.
$querynew = $_REQUEST["printquery"];
Which would be this.
"SELECT * FROM inventory WHERE TYPE = ('U' or 'N') AND FEATURED = '1' AND ACTIVE = '1'"
Then I am just simple, making the
$query = "" .$querynew. "";
print $query;
$result = mysql_query($query);
print $result;
That is what I am asking am I going about this wrong. the print $ query looks right.