Variables

upgradasaurus2.7.php File Reference

Upgrades a 2.6 install to 2.7. More...

Variables

 $link = getdb()
Print Connected< BR > print
Adding materials to table 
homes
 $querystring = "homes ADD (notes TEXT, agentemail VARCHAR (30), owner int, numfloors VARCHAR (30), yearbuilt int, sqfeet int, lotsize VARCHAR (30), garagesize VARCHAR (30), proptax int, country VARCHAR (30), virtualtour VARCHAR (60) );"
print< BR > $result = mysql_query("$querystring")
print Created table in $db< BR >
 $query = mysql_query($querystring,$link)
while($a_row=mysql_fetch_array($query)) $sql = "homes drop column tns;"
print< P >< B > Installation
Succeeded</b >< P > Print
< ahref=\"../\"> Load 
OpenRealty</a >

Detailed Description

This file incorporates all of Toma's changes into the database without requiring a reinstall and without deleting the data currently populating the database