I have this code as part of a function but for any reason the while loop is not running. This is the code:
PHP 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 add or die("error".mysql_error()) to the mysql_fetch_array(), it shows "error" but nothing related to mysql. Can someone help please?