diff options
author | Sjoerd Maessen <info@shuto.nl> | 2015-09-09 09:46:28 +0200 |
---|---|---|
committer | Sjoerd Maessen <info@shuto.nl> | 2015-09-09 09:46:28 +0200 |
commit | a577e8b3ed2ebec3d2b951d9acb1d78d0f700e34 (patch) | |
tree | fa07c6bb110f4a8fd44cf8ff5dbfd7855b36572c | |
parent | 0d1215066e39adf1ea0349bee0d20977d8c50978 (diff) | |
download | php-mysql-mysqli-wrapper-a577e8b3ed2ebec3d2b951d9acb1d78d0f700e34.zip php-mysql-mysqli-wrapper-a577e8b3ed2ebec3d2b951d9acb1d78d0f700e34.tar.gz php-mysql-mysqli-wrapper-a577e8b3ed2ebec3d2b951d9acb1d78d0f700e34.tar.bz2 |
Initial commit
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | mysql.php | 2 |
2 files changed, 4 insertions, 5 deletions
@@ -1,8 +1,7 @@ MySQL wrapper for MySQLi ======================== -This collection of MySQL functions is trying to be a drop in replacement for the native PHP MySQL extension. +This collection of MySQL functions is trying to be a drop in replacement for the PHP MySQL extension. In PHP 5.5 the MySQL extension is deprectated and triggers errors. +This package is trying to support legacy projects without the need of having the MySQL extension installed by using this package you are not hold back to update to new PHP versions. -The return values of the MySQL functions are aimed to behave the same way as the native MySQL functions. -For example the function mysql_fetch_assoc will use MySQLi method fetch_assoc but instead of returning null in case there -are no more rows in the resultset it will return false just like the behaviour of mysql_fetch_assoc.
\ No newline at end of file +The return values of my functions are aimed to match the native MySQL functions as close as possible.
\ No newline at end of file @@ -258,7 +258,7 @@ if (!extension_loaded('mysql') && !function_exists('mysql_connect')) { */ function mysql_unbuffered_query($query, mysqli $mysqli = null) { - mysqli_query(getLinkIdentifier($mysqli), $query, MYSQLI_USE_RESULT); + return mysqli_query(getLinkIdentifier($mysqli), $query, MYSQLI_USE_RESULT); } /** |