if( mysql_num_rows( $query_r ) > 0 ) {
        while( $currentResult = mysql_fetch_array( $query_r ) ) {
                // do something with the result.
        }
}
else {
        echo 'No results.';
}

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to