Hi!!
This file does not work
yadayada.com/createtables.php (goes on end of url)
BUT, can the file (a portion shone here) be made into a sql file that I can import?
That would solve my problem,
Thanks, duchaine
Code:
<html>
<head>
<title>Powerline Site - Creat Tables</title>
</head>
<body>
<center>
<HR>
<TABLE BORDER="1" CELLPADDING="0" CELLSPACING="0" WIDTH="85%">
<tr>
<td>
<font face="Verdana" size=2 color="navy">
<b>
<center>Creation of Tables for Powerline Site</center><HR>
<?php
// CONNECTING TO DATABASE
include "dbconfig.php";
$sql="create table users
(
ID int unsigned not null auto_increment primary key,
Name varchar(75),
Address varchar(175),
City varchar(75),
State varchar(75),
Zip varchar(15),
Country varchar(75),
Email varchar(75),
Username varchar(75),
Password varchar(75),
active int unsigned not null,
ref_by varchar(75),
IP varchar(25),
Date datetime,
status int unsigned not null,
Total float(8,2),
Unpaid float(8,2),
Paid float(8,2),
RDate datetime
)";
if(mysql_query($sql))
{
print " Table Created : users <br>";
}
else
there's more code.