| Posted on: Oct 16 2006 8:15 pm |
aotf01 Jr. Member


Posts: 25
|
Here are the versions of php and MySQL I am running.
mysql Ver 14.7 Distrib 4.1.14, for slackware-linux-gnu (i486) using EditLine wrapper
PHP 4.4.0 (cli) (built: Sep 4 2005 20:23:42) Copyright (c) 1997-2004 The PHP Group
This problem first appeared when I used the word "don't" in my post and it gave me an error mesage similar to the one below. I changed the word "don't" to "do not" and it worked.
Error
Failed to query the database.
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 't in the text.', important='0', disable_smiles='0', disable_bbcode='0' WHERE tid' at line 1
Query Used:
Any ideas? Thanks,
Randy
_________________ Survival of the Fittest does not explain Arrival of the Fittest.
http://www.ArrivaloftheFittest.com |
 |
| Posted on: Oct 16 2006 8:17 pm |
aotf01 Jr. Member


Posts: 25
|
Here are the versions of php and MySQL I am running.
mysql Ver 14.7 Distrib 4.1.14, for slackware-linux-gnu (i486) using EditLine wrapper
PHP 4.4.0 (cli) (built: Sep 4 2005 20:23:42) Copyright (c) 1997-2004 The PHP Group
This problem first appeared when I used the word "don't" in my post and it gave me an error mesage similar to the one below. I changed the word "don't" to "do not" and it worked.
Error
Failed to query the database.
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 't in the text.', important='0', disable_smiles='0', disable_bbcode='0' WHERE tid' at line 1
Query Used:
ebb_topics SET Topic='test', Body='the word don't in the text.', important='0', disable_smiles='0', disable_bbcode='0' WHERE tid='2'
Any ideas? Thanks,
Randy
_________________ Survival of the Fittest does not explain Arrival of the Fittest.
http://www.ArrivaloftheFittest.com |
 |