Revision: 1228
Updated Code
at September 26, 2006 07:50 by gdonald
Updated Code
function sqlInsertID() { if( in_array( 'mysql', $GLOBALS[ 'loaded_extensions' ] ) ) { return @mysql_insert_id(); } elseif( in_array( 'mysqli', $GLOBALS[ 'loaded_extensions' ] ) ) { return @mysqli_insert_id( $GLOBALS[ 'dbHandle' ] ); } }
Revision: 1227
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 26, 2006 07:49 by gdonald
Initial Code
function sqlInsertID() { if( in_array( 'mysql', $GLOBALS[ 'loaded_extensions' ] ) ) { return @mysql_insert_id(); } elseif( in_array( 'mysqli', $GLOBALS[ 'loaded_extensions' ] ) ) { return @mysqli_insert_id( $GLOBALS[ 'dbHandle' ] ); } }
Initial URL
Initial Description
Initial Title
php mysql/mysqli sql insert id
Initial Tags
mysql
Initial Language
PHP