Could you explain the code below - it's newbie stuff,
but having trouble understanding? The lines are in logical order. If you could tell me :
1. what the line's doing and
2. what value is in the variable on the left as a result. Thanks.
Lee G.
$query_count = "SELECT count(*) FROM table";
$result_count = mysql_query($query_count);
$totalrows = mysql_num_rows($result_count);
but having trouble understanding? The lines are in logical order. If you could tell me :
1. what the line's doing and
2. what value is in the variable on the left as a result. Thanks.
Lee G.
$query_count = "SELECT count(*) FROM table";
$result_count = mysql_query($query_count);
$totalrows = mysql_num_rows($result_count);