gdonald on 09/26/06
Last Edited at 09/26/06 07:41am
function sqlFetchObject( $query ){ if( in_array( 'mysql', $GLOBALS[ 'loaded_extensions' ] ) ) { return @mysql_fetch_object( $query ); } elseif( in_array( 'mysqli', $GLOBALS[ 'loaded_extensions' ] ) ) { return @mysqli_fetch_object( $query ); }}
Report this snippet Tweet
Comment:
You need to login to post a comment.