I'm currently using v2 and when i go to my crimes page i see this above where the crimes are suposed to be.
Warning: Invalid argument supplied for foreach() in /home/nubbadon/public_html/criminal.php on line 16
And also when i try to make a crime it gives me an error:
QUERY ERROR: 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 ' 0, '1', 'saddfdfghj', 'sdfghj', 'sffdghjh', 'fdsghj', 5, 'Cought doing a crime'' at line 1
Query was INSERT INTO crimes (crimeNAME, crimeBRAVE, crimePERCFORM, crimeSUCCESSMUNY, crimeSUCCESSCRYS, crimeSUCCESSITEM, crimeGROUP, crimeITEXT, crimeSTEXT, crimeFTEXT, crimeJTEXT, crimeJAILTIME, crimeJREASON, crimeXP) VALUES( 'noob', '1', '((WILL*0.

/2.5)+(LEVEL/4)', '100', , 0, '1', 'saddfdfghj', 'sdfghj', 'sffdghjh', 'fdsghj', 5, 'Cought doing a crime', 5)
Any1 know what might be the problem? I know theres something wrong with line 16 in my criminal.php but i dont know how to fix this xD