Posts: 86
Threads: 37
Joined: Jan 2016
Reputation:
0
Hi,
How use 3 and in mysql query, because it now working if doing like that:
select xp from table where name='xxx' AND money='555' AND air='22'
Posts: 1,266
Threads: 6
Joined: Oct 2014
Try this:
PHP код:
select xp from table where name='xxx' , money='555' AND air='22'
Posts: 163
Threads: 21
Joined: Feb 2011
Reputation:
0
I guess column money and air are integer, so you can escape the '.
SELECT `xp` FROM `table` WHERE `name`='xxx' AND `money`=555 AND `air`=22
Posts: 86
Threads: 37
Joined: Jan 2016
Reputation:
0
But if they not will be integer i just give example i could use any collum type i just need to know how to use where where i need to use 3 and or more.