FreeHostia Forums
http://forum.freehostia.com/

database connection OK but cannot access the tables
http://forum.freehostia.com/viewtopic.php?f=7&t=10406
Page 1 of 1

Author:  wltc [ Thu Nov 05, 2009 3:16 pm ]
Post subject:  database connection OK but cannot access the tables

$dbs = mysql_list_dbs($connection) or die("coudnt list the dbs");

i can get through the connection to the database..but when above code executes it shows the die part ie, "coudnt list the dbs"..

and when i try to select a database using there exists something wrong because later when i try to enter data to a table in that selected database it tells that theres no table with that table name...

i am really stuck here :(
pls help me.. :?:

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/