PHP-PDO-MySQL-Class icon indicating copy to clipboard operation
PHP-PDO-MySQL-Class copied to clipboard

A PHP MySQL PDO class similar to the the Python MySQLdb, which supports iterator and parameter binding when using "WHERE IN" statement.

Results 15 PHP-PDO-MySQL-Class issues
Sort by recently updated
recently updated
newest added

Integrity constraint violation: 1048 Column parentId cannot be null

1. buffered mode is used to read/write huge data. 2. Insert `schema.table` will show error exception.

Please change this if ($statement === 'select' || $statement === 'show' || $statement === 'call' || $statement === 'describe') { $fetchReturn = $this->sQuery->fetchAll($fetchMode); $this->sQuery->closeCursor(); return $fetchReturn; } elseif ($statement ===...

I would suggest you add binding paramters in a more readable way. e.g ``` $db->bind('par1', 'xyz' ); $db->bind('par2', 'abc' ); $db->query('SELECT * FROM table1 WHERE table1.a = :par1 AND table1.b...

How to do sorting ? ORDER BY ASC DESC

These small changes would be nice to add to the repo, so that the log path can be changed. PDO.class.php public function __construct($Host, $DBPort, $DBName, $DBUser, $DBPassword, $LogPath = '')...

I want to turn off logs, as I don't really want to be accessing this from the front end of my website. How do I do this?

how can i determine query are success or not ? some like if ($execute = DB->query(blablabla)){} ?

question

``` ``` Why can't use ini file that puts credentials to main db function and link with main db php class, which won't require parameters to be required everytime. Just...