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

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
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
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Member card: see how many threads a member started
The member card now shows a Threads number, right after Posts. The member card is the box that opens when you point at a name. Profile...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back