Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

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

SpaceshipSpaceship
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
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back