1) { $previousPage = $page - 1; }else { $previousPage = 1; } //------------------------------------------------// $keyword = $_POST['keyword']; //------------------------------------------------// ////////////pagination////////////////////////////////////// $queryPaginate ="SELECT * FROM info WHERE city LIKE '%%$keyword%%' or proptype LIKE '%%$keyword%%' or description LIKE '%%$keyword%%' or name LIKE '%%$keyword%%' "; $resultPaginate = mysql_query($queryPaginate); $num_results=mysql_num_rows($resultPaginate); $limit = $SITElistingsamnt; $limit1 = $SITEfeaturedamnt; $numPages = ceil($num_results / $limit); $offset = ($page - 1) * $limit; /////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////// $querySearch = "SELECT * FROM info WHERE city LIKE '%%$keyword%%' or proptype LIKE '%%$keyword%%' or description LIKE '%%$keyword%%' or name LIKE '%%$keyword%%' ORDER BY `pk` DESC limit $offset, $limit"; $arrSearch = multiListings($querySearch); ////////build search results listings//////////////////// ?>
 

Search Results ( listings found for )



0"; } else { $Sbedrooms_style = $Sbedrooms; } ?> 0"; } else { $Sbathrooms_style = $Sbathrooms; } ?> 0"; } else { $Scarparks_style = $Scarparks; } ?>
Bedrooms:
Property ID:
Property Name:
City/State: /
Price:

© 2007 Queensland Exclusive Properties Pty Ltd. All Rights Reserved.