Would
Would that say if the query made the table or not ?Code:if(mysql_query(); == TRUE) {
Would
Would that say if the query made the table or not ?Code:if(mysql_query(); == TRUE) {
Last edited by Mr Macro; 20-04-2007 at 08:09 PM.
James
Connected to reality through a proxy server.
Dude thats a stupid way to do it and no it wouldn't work im 99.99% sure.
Just do:
PHP Code:$query = mysql_query() or die('Error: '. mysql_error());
echo("yayz it workd");
So, this would work.
(Variables being in the config page)Code:<?PHP require('includes/config.php'); for($K = 0; $K<sizeof($query); $K++) { $query = mysql_query($query[$K];) or die('Error: '. mysql_error()); echo("Tables created.Now, delete this file."); ?>
James
Connected to reality through a proxy server.
Indeed, i'm making a forum.. which i'm releasing in a few months.
(for free)![]()
James
Connected to reality through a proxy server.
Just a nicer touch D:PHP Code:<?PHP
require('includes/config.php');
for($K = 0; $K<sizeof($query); $K++)
{
$query = mysql_query($query[$K]) or die('Error: '. mysql_error());
chmod("install.php", 0777);
unlink("install.php");
if(file_exists("install.php")) {
echo("Tables created! Now please delete this file.");
}
else {
echo("Tables created! This file has been deleted automatically for security reasons.");
}
?>
Your going in the credits listtyvm
Progress:
Installer made, still to bee tested then BETA'd
Other pages need to be coded, tested then BETA'd
Don't get me started on graphics and public BETA
Last edited by Mr Macro; 20-04-2007 at 08:39 PM.
James
Connected to reality through a proxy server.
Want to hide these adverts? Register an account for free!