About: 4360 results

Manual :: Loading and calling modules - PEAR - PHP Extension
https://pear.php.net/manual/en/package.database.md ...
A module is loaded using the loadModule() method. This method returns the module instance, but also stores the instance in a property. The name of the property is either the lowercased name of the module passed in as the first parameter, ...
Automatically prepare and execute SQL statements - PEAR - PHP ...
https://pear.php.net/manual/en/package.database.md ...
autoPrepare() and autoExecute() reduce the need to write boring INSERT, UPDATE, DELETE or SELECT SQL queries which are difficult to maintain when you add a field for instance. It requires the use of the Extended module. Imagine you ...
Docs For Class MDB2_Driver_Common - Pear
https://pear.php.net/package/MDB2/docs/latest/MDB2 ...
Class Overview. MDB2_Driver_Common: Base class that is extended by each MDB2 driver ... The options can be set during object creation, using MDB2:: connect(), MDB2::factory() or MDB2::singleton(). The options ... loadModule [line 1900] ...
MDB2 - PEAR - PHP Extension - PHP.net
https://pear.php.net/package/MDB2/download/All
moved escaping tests to datatype tests - added summary at the end of a test run for each RDBMS - explicitly pass the php_type var in all internal loadModule() calls - added support for 'primary' option in createTable() - expanded NULL tests
Extended - Pear
https://pear.php.net/package/MDB2/docs/latest/MDB2 ...
Source Location: /MDB2-2.5.0b5/MDB2/Extended.php ... Generate an insert, update or delete query and call prepare() and execute() on it. Return: true on ... Return: handle for the query; See: MDB2_Extended::buildManipSQL(); Access: public ...
Manual :: Module for managing database structure - Pear
https://pear.php.net/manual/en/package.database.md ...
The Reverse module is an extension of the Common Module driver, and is made up in the following structure: Common driver file that ... create MDB2 instance // MDB2 has a number of connection options - singleton(), factory() and connect()
Prepare and execute SQL statements - PEAR - PHP Extension
https://pear.php.net/manual/en/package.database.md ...
prepare() and execute() give you more power and flexibilty for query execution. Prepare/execute mode is helpful when you have to run the same query several times but with different values in it, such as adding a list of addresses into a ...
MDB2_Driver_Function_Common - PEAR - PHP Extension
https://pear.php.net/package/MDB2/docs/latest/MDB2 ...
Class Details. [line 64] Base class for the function modules that is extended by each MDB2 driver. To load this module in the MDB2 object: $mdb->loadModule(' Function');. Author: Lukas Smith <smith@pooteeweet.org>. [ Top ] ...
MDB2_Driver_mysql - PEAR - PHP Extension
https://pear.php.net/package/MDB2_Driver_mysql/dow ...
fixed bug #17984: Error is not reported when mysqli_stmt_bind_param() fails [ dennylin93] ... Version: PHP 5.3.0 or newer; PEAR Package: PEAR Installer 1.9.1 or newer; PEAR Package: MDB2 1.5.0b3 or newer; PHP Extension: mysql ... explicitly pass if the module is phptype specific in all loadModule calls (bug # 6226)
how to debug the cause of problem using pear mdb2 - Stack Overflow
https://stackoverflow.com/questions/6235351/how-to ...
First, debug which of the die calls are echoing the message: die('first: ' . $res-> getMessage());. After that, check the extended user information: die($res-> getMessage() . "\n" . $res->getUserInfo());. This should give you a hint about the real ...