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
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
Post Description: you have an error in your sql syntax; check the manual that corresponds to your mysql
POST# 459
Posted On: Fri Feb 29, 2008 12:01 pm
php help
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

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload