View Full Version : Need help with a install script.
I need a script that when run will install some queries, +REP to all trys, i have tried a few ways and failed.I'm thinking maybe setting the queries in a array then using a mySQL query to install them all ?
Heinous
24-11-2006, 03:25 PM
mysql_query($query);
...
Or be more specific as why you can't use that?
I didn't try that, I thourght of it but didn't now the syntax.Ty rep+
PS: How could i make a if statement to see if it worked ?
Heinous
24-11-2006, 03:43 PM
Just create the table(s) via phpmyadmin, and once it's done, click "create php code", or something like that, voila. Time saver.
I'm making a script for my radio panel and i need the script to install all the queries when the page is loaded, and for it to tell them if its done.
Heinous
24-11-2006, 03:52 PM
So just make a dud database, add all the tables, after each one, paste the code from "create php code" into a mysql_query and do it all at once.
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.