I have this query to use in PHP:
mysql_query(\"select count(*) from registeredUsers where email=\".$_SESSION[\"username\"]);
When I use e
e
You may want to echo out the query itself to determine that it is returning what you expect.