I connect other database table before the main file index.php from pay versiÃƒÂ³n but the tables for this demo canÃ‚Â´t. This is the error
Couldn't execute query. Access denied for user ''@'localhost' (using password: NO) – SELECT * FROM clients WHERE 1=1 LIMIT 1 OFFSET 0
why, if I can connect to other table?
my url is
For grid code, try connecting with 4th param to true. It will force new connection.
$conn = mysql_connect("localhost", "root", "", true);
This is recommended practice if you are connecting to multiple databases in an script.
Let me know for further help. Also send some source-code part for reference with new queries.
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!