PHP- Mysql problem
| From: | NADARAJAH SIVASUTHAN NADARAJAH | Date: | Thu, 18 Jun 2009 10:03:55 +0000 |
| Subject: | PHP- Mysql problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-46244@lists.php.net to get a copy of this message | ||
Dear all,
When I try to retrive data from two tables using JOIN OR INNER JOIN it display error message
given below;
Warning: mysql_query() [function.mysql-query]: Access denied for user
'ODBC'@'localhost' (using password: NO) in C:\wamp\www\ap_v5\inc\profile.inc.php
on line 285
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in
C:\wamp\www\ap_v5\inc\profile.inc.php on line 285
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in
C:\wamp\www\ap_v5\inc\profile.inc.php on line 288
what may be the reason?
Normally PHP-mysql works fine.
Can you figure it out and give me the possible solution?
Thank you.
suthan
_________________________________________________________________
Windows Live™: Keep your life in sync. Check it out!
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009