diff options
Diffstat (limited to 'php/lib/db.php')
-rw-r--r-- | php/lib/db.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/php/lib/db.php b/php/lib/db.php index ae20f9e..003be70 100644 --- a/php/lib/db.php +++ b/php/lib/db.php @@ -1,6 +1,6 @@ <?php /** - * Minimal wrappers for core PHP mysql_* functions. + * Minimal wrappers for core PHP PDO functions. * @package mirror * @subpackage lib */ @@ -109,7 +109,7 @@ public static function get($query,$type=PDO::FETCH_BOTH,$col_id=NULL,$parameters } /** - * Since PHP's mysql_insert_id() sometimes throws an error, this is the replacement + * Wrapper for PDOStatement::lastInsertId() * @param PDO $dbh optional dbh to get the last inserted id from * @return int the return value of MySQL's last_insert_id() */ |