Main Page | Directories | File List | File Members

configurator.php File Reference


Functions

 build_db ($sql, $link)

Variables

 $link = getdb()
print Adding table homes
 $querystring = "CREATE TABLE ".$table_prefix."homes (id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (id), title VARCHAR (250), address VARCHAR (250), city VARCHAR (50), state VARCHAR (20), zip VARCHAR (20), price int, price_low int, price_hi int, previewdesc TEXT, fulldesc TEXT, type VARCHAR (20), imageloc VARCHAR (50), beds int, baths FLOAT, status VARCHAR (10), featured VARCHAR (1), mls VARCHAR (20), dateposted DATE, neighborhood VARCHAR (50), agent VARCHAR (30), agenturl VARCHAR (30), notes TEXT, agentemail VARCHAR (30), owner int, numfloors VARCHAR (30), yearbuilt int, sqfeet varchar(30), lotsize VARCHAR (30), garagesize VARCHAR (30), proptax int, country VARCHAR (30), virtualtour VARCHAR (60), dateavailable varchar(30), heat varchar(30), style varchar(30), onmarket varchar(10));"
 $result = mysql_query("$querystring", $link)
print Created table in $db<BR>
print Adding table features
print Creating Index<br>
print Creating homes_features<br />
print Created table in $db<br />
print Initializing Feature tables<br />
print Features initialized< br />
print Adding table agents
print Adding table agent_tbl_Files
print Adding table tbl_Files
print Adding logging table update_log
 $sql = "alter table ".$table_prefix."homes add column nearby varchar(100)"
Print< ahref=\"../index.php\">
Load 
FreeRealty</a>

Function Documentation

build_db sql,
link
 

build_db is a faster way of doing database queries/updates, we dropped the verification of inserts


Variable Documentation

print Created table in $db<br />
 

print Created table in $db<BR>
 

$link = getdb()
 

print $querystring = "CREATE TABLE ".$table_prefix."homes (id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (id), title VARCHAR (250), address VARCHAR (250), city VARCHAR (50), state VARCHAR (20), zip VARCHAR (20), price int, price_low int, price_hi int, previewdesc TEXT, fulldesc TEXT, type VARCHAR (20), imageloc VARCHAR (50), beds int, baths FLOAT, status VARCHAR (10), featured VARCHAR (1), mls VARCHAR (20), dateposted DATE, neighborhood VARCHAR (50), agent VARCHAR (30), agenturl VARCHAR (30), notes TEXT, agentemail VARCHAR (30), owner int, numfloors VARCHAR (30), yearbuilt int, sqfeet varchar(30), lotsize VARCHAR (30), garagesize VARCHAR (30), proptax int, country VARCHAR (30), virtualtour VARCHAR (60), dateavailable varchar(30), heat varchar(30), style varchar(30), onmarket varchar(10));"
 

$result = mysql_query("$querystring", $link)
 

$sql = "alter table ".$table_prefix."homes add column nearby varchar(100)"
 

print Adding table agent_tbl_Files
 

print Adding table agents
 

print Adding table features
 

Print<ahref=\"../index.php\"> Load FreeRealty</a>
 

print Adding table homes
 

print Creating homes_features<br />
 

print Creating Index<br>
 

print Features initialized< br />
 

print Initializing Feature tables<br />
 

print Adding table tbl_Files
 

print Adding logging table update_log
 


Generated on Mon Mar 28 01:06:20 2005 for FreeRealty Real Estate Listing Scripts by  doxygen 1.3.9