View Full Version : Tricky Situation

06-21-2005, 08:48 AM
hey, my webhost has cut me off their service and i cannot access my site
and i really need to get my database stuff off their

thing is
they still have their old server running and i have access to that webspace :)
except i can only connect to it with a remote include file as going to that ip address just redirects tot he new server.
if i click any links it goes to http://myserver/file.php
instead of http://myhost/file.php
i can connect to the mysql database and i know the stuff is their
except i dont know what the tables in the database are called

how would i get every table and all info from the database ?
somewhat like phpmyadmin does...

06-21-2005, 10:13 AM
You can use mysql_list_dbs() and mysql_list_fields() to get information about available database tables and the fields in those tables.