Wat is het verschil tussen beide opties om het maximum aantal records te bepalen?
// 1) determine maxrows
$resulthuis = mysql_query($sql) or die (mysql_error());
$aantal = mysql_num_rows($resulthuis);
// 2) determine maxrows
if ($h_maxrows == 0) {
for ($h_maxrows = $h_startrow + $h_rows; mysql_fetch_row($resulthuis); $h_maxrows++) {
;
}
}
1.014 views