I create a stored procedure, and I get an error when I call it.
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 ''results0.79123800+1345985910.html')' at line 1
This is how I call it from my php code:
mysql_query("CALL lastscan($task_id,'$file_name')") or die(mysql_error());
I have the sp in my database..
If it is a quote thing, how do I escape the variable I put inside, without modified the stored procedure?