Royal Lepage - Nanaimo Realty Gabriola


Linda's Listings

0) { echo ''; while ($info_results = mysql_fetch_array($info_query)) { echo ''; } echo '
' . $info_results['address'] . '
'; if ($info_results['sold'] == '1') { echo '$' . number_format($info_results['price'],0); } else { echo 'SOLD'; } echo '
' . $info_results['property_type'] . '
'; if ($info_results['new'] == 1) { echo 'New '; } else if ($info_results['reduced'] == 1) { echo 'Reduced '; } echo '' . $info_results['title'] .'
'; } $info_query = mysql_query("SELECT * FROM $table_info WHERE allowed='1' AND sold='0' ORDER BY price ASC"); $info_count = mysql_num_rows($info_query); if ($info_count > 0) { echo ''; while ($info_results = mysql_fetch_array($info_query)) { echo ''; } echo '
' . $info_results['address'] . '
'; if ($info_results['sold'] == '1') { echo '$' . number_format($info_results['price'],0); } else { echo 'SOLD'; } echo '
' . $info_results['property_type'] . '
'; if ($info_results['new'] == 1) { echo 'New '; } else if ($info_results['reduced'] == 1) { echo 'Reduced '; } echo '' . $info_results['title'] .'
'; } ?>

Home    E-Mail Linda