Can't query database with =>select * from regions where regionabbrv='NCAR_DEMO' AND ((SELECT LOCATE('NCAR_DEMO', regionsavail) FROM ALS_signup WHERE username='') > 0 OR (SELECT userlevel FROM ALS_signup WHERE username='') <1);