echo "$criteria";
if ($criteria =! 0)
{
$string="SELECT * FROM orders where status ='$criteria' LIMIT $start,$numentries ";
echo "$criteria";
}
Before the if statement I get the value "New" for criteria, which is what I should get, but with in the if statemnt it changes to "1", and my sql fails.........
if ($criteria =! 0)
{
$string="SELECT * FROM orders where status ='$criteria' LIMIT $start,$numentries ";
echo "$criteria";
}
Before the if statement I get the value "New" for criteria, which is what I should get, but with in the if statemnt it changes to "1", and my sql fails.........