You have an error in your SQL syntax; check..
Posted: Sat Nov 18, 2006 11:17 am
Hello,
When I run this part of the script
I get the error
If I remove it the script works fine again.. What do you think can be the problem?
Best Regards
Oskar R
When I run this part of the script
Code: Select all
mysql_query("INSERT INTO paypal_sales (viewed_online, viewed_online_by_ip) VALUES('$datenow', '$ip') where $txn_id = $txn_id ")
or die(mysql_error());Code: Select all
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 'where 0UU67926P08484626 = 0UU67926P08484626' at line 1Best Regards
Oskar R