I have a problem with this code:
$get = "SELECT * FROM ".TBL." WHERE test = '1' && (test = '".$fieldx['ShortVersion']."' || test2 = '".$fieldx['ShortVersion']."' || test3 = '".$fieldx['ShortVersion']."' || test4 = '".$fieldx['ShortVersion']."')";
$getprocess = mysql_query($get) or die(mysql_error());
echo "<br>Awarding ...";
//Debug ready till here
while($getup = mysql_fetch_array($getprocess)) {
// This does not run
};
When I run this code (as part of a function), the while lopp does not run and when I add
or die("error".mysql_error())
to the mysql_fetch_array, I get no error. What can the problem be? Please help because I don't know what's wrong.