look at this please hi guys i have an arcade site and when im trying to embed a game its giving me an error i dont know if this the right section to post but i need some help if you can please say something that would be wonderfull the error its the next one 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 'parent_url='; if (top_href) { var replacement = param + encodeURICom' at line 1 thanks so much oh i just forgot im getting another error for my other arcade it looks very similar but this one its saying at line 8 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 'parent_url='; if (top_href) { var replacement = param + encodeURICom' at line 8 Query was INSERT INTO dd_games SET name='Billar', description='un juego de billar exelente', category='2', type='2', dateadded='1298597180', thumburl='', enabledcode='
something is wrong with your query, i think you should contact your developer did your script running well just before and this problem appear all of the sudden? if that is the case, try reinstalling the script again who knows, maybe the script got injected / edited in the wrong section..
the script was working on that away always i ve never emeber any game before so it came with that error
A lot of times, these errors occur when you have a " in the wrong place, or an extra one somewhere. If the line giving you problems is within a block of PHP, make sure each " is preceded with a \. So something like width="180" would need to be width=\"180\" - only in PHP. You can also replace " with ' inside PHP. So width="180" can also be width='180'.