.sql file to .php? Please help...

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

shreder

VIP Member
Impact
8
Hello.

I have a *.sql file and i want to make it so i can be executed without phpmyadmin.
I want to make it a php file to be run from the browser and install the database...
does anyone know a good tool that can do that?

Thank you!
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
You have 2 chances ... find a program what to do that or ... do yourself a program.

On second chance I can help you with some suggestions:

1. if the file is not so big try to readit and execute a mysql_query with resulted value.

2. Read each line with instructions until you get ; and excute resulted value

Regards
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back