So you have a file on your PC with the .sql file extension.
That file was created by your PHP script, it spit-out the .sql content,
and you saved it on your PC. Now you want to go in reverse ... you
want to take that .sql file and restore the database ... is that correct?
I'm just trying to follow what you mean by "restore db table".
We might both be thinking of two different things.
If what I'm thinking is correct, you need to have access to "phpMyAdmin".
This is usually done using your webhost (website) control panel. They have
a thing in the control panel called "phpMyAdmin" where you can access
all of your mysql databases, view them, edit them, add/delete. You can
also present it with an .sql file ... like the one you saved as a backup.
It will execute that .sql file and perform the query instructions to restore
Last edited by mlseim; 01-06-2013 at 06:11 PM..