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
http://www.wao.mx/aplica/grid/index.php
my datasource
/home/samuel/public_html/aplica/grid/index.php
thanks
For grid code, try connecting with 4th param to true. It will force new connection.
$conn = mysql_connect("localhost", "root", "", true);
mysql_select_db("griddemo");
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.