'NA' AND Model <> 'NA' ORDER BY ID DESC"; $query_limit_rsLatest = sprintf("%s LIMIT %d, %d", $query_rsLatest, $startRow_rsLatest, $maxRows_rsLatest); $rsLatest = mysql_query($query_limit_rsLatest, $pioliautos) or die(mysql_error()); $row_rsLatest = mysql_fetch_assoc($rsLatest); if (isset($_GET['totalRows_rsLatest'])) { $totalRows_rsLatest = $_GET['totalRows_rsLatest']; } else { $all_rsLatest = mysql_query($query_rsLatest); $totalRows_rsLatest = mysql_num_rows($all_rsLatest); } $totalPages_rsLatest = ceil($totalRows_rsLatest/$maxRows_rsLatest)-1; mysql_select_db($database_pioliautos, $pioliautos); $query_rsCount = "SELECT COUNT(ID) FROM Cars_byprivate"; $rsCount = mysql_query($query_rsCount, $pioliautos) or die(mysql_error()); $row_rsCount = mysql_fetch_assoc($rsCount); $totalRows_rsCount = mysql_num_rows($rsCount); ?> Autos Nuevos, Autos Usados - Encuentra Autos en Camionetasymas.com