Quote Originally Posted by Mr Happy View Post
The only part you run in PHPmyadmin is
Code: 
SELECT * FROM fblike ORDER BY id DESC LIMIT 0,1
Anyway a bit offtopic but you should escape this and make it safe:
PHP Code: 
$like=$_POST["like"]; 
PHP Code: 
$like=mysql_real_escape_string($_POST["like"]); 
It will help prevent hacking and make your script safer.

More info here http://php.net/manual/en/function.my...ape-string.php

thanx,


#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 ''SELECT * FROM fblike ORDER BY id DESC LIMIT 0,1' at line 1