Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers!
/Peo, FreeWebSpace.net
I made a blog script which uses MySQL. I would like to know how to execute queries through php, as an installation file. The script is mainly for me, but I'm letting a few friends use it as well, so it will save me time by not going to PHPMyAdmin to manually do the queries.
Actually if you know how to use phpMyAdmin, you can "Export" your tables.
It will generate a code of your database structure.
Just copy and paste that code into your $query and then do the usual mysql_query($query); in your php install file