Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2005
    Posts
    98
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Tricky Situation

    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...

  • #2
    Regular Coder
    Join Date
    Feb 2005
    Location
    West Midlands, UK
    Posts
    623
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You can use mysql_list_dbs() and mysql_list_fields() to get information about available database tables and the fields in those tables.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •