gdonald on 09/26/06
Last Edited at 09/26/06 07:34am
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 ); }}
Report this snippet Tweet
Comment:
You need to login to post a comment.