mysql - php script acting weird, shows record even if one does not exist -


I have a strange problem every time I execute this query in php, I get the output "challenge" , Even if the query is empty ("empty" if empty) when I check it in phpmyadmin everything is great and the query is empty when it should be. I tried to resonate $ detectChallengeRes [0] [1] and found nothing. I can not find this problem, any help is greatly appreciated, script is considered to be viewed in the database and Checks that there are challenges related to the current user id, it is basically a script which checks that the user has been challenged by another user, then the game ID is similar to the one on the current page. In the database and that user has not already completed the challenge ( $ yourscore == 0 ).

Table structure:

  Do not create if AMCMS_chillange is not present (`priority 'integer (11) null auto_ignment,` user's 1` int (11) Null, `user's 2` int (11) nouvel,` gamid 'at (11) noull, `winner` int (11) nouvel,' score 1` int (11) nouvel, 'score 2' int 11) Faucet, primary key (`primake ')) engine = mice default charset = latin1 AUTO_INCREMENT = 7;  

$ detectChallengeRes Boolean false or mysql will result in Result It will never be blank.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -