You Have An Error In Your SQL Syntax; Check The Manual That Corresponds To Your MySQL
Post Description: you have an error in your sql syntax; check the manual that corresponds to your mysql
you, have, an, error, in, your, sql, syntax, check, the, manual, that, corresponds, to, your, mysql
This Post Has Been Viewed 210 Times Since Fri Feb 29, 2008 12:01 pm Posted By php help with 2 replies
POST# 459
Posted On: Fri Feb 29, 2008 12:01 pm
Topic: You Have An Error In Your SQL Syntax; Check The Manual That Corresponds To Your MySQL
mi getting this error, can you help me on what to do?
thanks
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /mptt.php on line 7
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 'BETWEEN 2 AND 11' at line 1
Sun Feb 17, 2008 2:36 pm
1
hostman
Reply #1053
all it means is that the sql query cannot connect to the database, so you need to check to make sure you have these four correct:
hostname
username
username password
database name
Sun Feb 17, 2008 2:36 pm
2
php beginer
Reply #1054
ok, i got it.
yes, you were right, i had a different database than the one i was looking for where i have all my data to be display..
so simple.. hahahah
thanks