Revision: 1220
Updated Code
at September 26, 2006 07:35 by gdonald
Updated Code
function sqlNumRows( $query ) { if( in_array( 'mysql', $GLOBALS[ 'loaded_extensions' ] ) ) { return mysql_num_rows( $query ); } elseif( in_array( 'mysqli', $GLOBALS[ 'loaded_extensions' ] ) ) { return mysqli_num_rows( $query ); } }
Revision: 1219
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 26, 2006 07:34 by gdonald
Initial Code
function sqlNumRows( $query ) { if( in_array( 'mysql', $GLOBALS[ 'loaded_extensions' ] ) ) { return mysql_num_rows( $query ); } elseif( in_array( 'mysqli', $GLOBALS[ 'loaded_extensions' ] ) ) { return mysqli_num_rows( $query ); } }
Initial URL
Initial Description
Initial Title
php mysql/mysqli num rows
Initial Tags
mysql
Initial Language
PHP