| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Mar 2006
Posts: 780
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | .sql file to .php? Please help... 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!
__________________ EKED.COM BDPU.COM FFHF.COM BXNN.COM SFUZ.COM OOHH.NET EOEI.COM NSTO.COM SPMQ.COM CODV.COM - Pm Offers "What doesn't kill you only makes you stronger..." |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Mar 2006
Posts: 397
![]() | 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 |
| |