include("Variables.php"); mysql_connect("localhost",$MysqlName,$MysqlPW) or die("Unable to connect to SQL server"); @mysql_select_db("$dbName") or die("Unable to select database"); $SelectStr = "SELECT * FROM " . $TablePrefix . "_Property_Listings WHERE PropertyListingID = '$recordid'"; // $SelectStr = "SELECT * FROM " . $TablePrefix . "_Property_Listings, " . $TablePrefix . "_Property_Categories Where " . $TablePrefix . "_Property_Listings.PropertyListingCategory = '$category' AND " . $TablePrefix . "_Property_Categories.PropertyCategoryID = '$category'"; // print "
$SelectStr
"; $Results = MySQL($dbName,$SelectStr); $RowCount = MySQL_NUMROWS($Results); ?>
$textfile
"; // Make Sure File Exists Before Opening It if (!file_exists($textfile)) { $buffer=""; } else { $descriptionfile = fopen("$textfile", "r"); $buffer = fread($descriptionfile, filesize ($textfile)); fclose ($descriptionfile); } // Now Get the contact $ContactSelectStr = "SELECT * FROM " . $TablePrefix . "_Sells_Contacts WHERE SellsContactID = '$contact1'"; $ContactResults = MySQL($dbName,$ContactSelectStr); $ContactRowCount = MySQL_NUMROWS($ContactResults); $cfname = MySQL_RESULT($ContactResults,0,"SellsContactFirstName"); $clname = MySQL_RESULT($ContactResults,0,"SellsContactLastName"); $cemail = MySQL_RESULT($ContactResults,0,"SellsContactEmail"); $cphone = MySQL_RESULT($ContactResults,0,"SellsContactPhone"); $cpic = MySQL_RESULT($ContactResults,0,"SellsContactImage"); ?>
![]() |
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||