I’ve been trying to do this query (this is the result of echo statement of a query) and all fields & table exist. Yet, I do not know why I get this error. PHP & MySQL.
UPDATE monsterdata SET name = 'Sharks', type1 = 'earth', type2 = 'earth',Grade = 'B', hp=7,atk=2,def=3,spd=3,int=5,exp=20,evolvelvl=20,evolvesto=2,credits=15,evolutionlvl=1,maleratio=1,IsReleased=1,IsTokenOnly=0,IsStarter=0 WHERE id = 1
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘int=5,exp=20,evolvelvl=20,evolvesto=2,credits=15,evolutionlvl=1,maleratio=‘1’,Is’ at line 1
Please help!