Top "Pdo" questions

PDO (PHP Data Objects) is a data-access abstraction layer (interface) for PHP.

What are the differences between ADOdb and PDO in PHP?

Both seem to try making it simpler using a database in PHP. Both seem to provide an abstraction over different …

php pdo adodb-php
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error' in

I have this function and it keeps giving out the error "Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: …

php mysql pdo fetch fetchall
Simple PDO wrapper

My web application currently has do execute simple queries: simple CRUD operations, counting,... A few months ago, someone recommended me …

php database pdo wrapper
PHP 5.4 compilation with PDO-OCI driver using Oracle Instant client 10.2.0.4

I have downloaded Instant client 10.2.0.4 basic and sdk zip files from Instant Client downloads for Mac OS X (Intel x86), …

php pdo oracle-call-interface instantclient
Is there a performance difference between PDO fetch statements?

like in /* Exercise PDOStatement::fetch styles */ print("PDO::FETCH_ASSOC: "); print("Return next row as an array indexed by column …

php pdo fetch
Using mysql_real_escape_string with PDO (no connection to localhost server)

So I'm fairly paranoid and use mysql_real_escape_string() with PDO. I actually don't use prepared statements in PDO, …

php mysql security pdo mysql-real-escape-string
PHP and Informix on Debian - how to install/configure the PDO

This question seems to be asked quite a bit and the answer seems to change with time. I've spent the …

php pdo informix
When *not* to use prepared statements?

I'm re-engineering a PHP-driven web site which uses a minimal database. The original version used "pseudo-prepared-statements" (PHP functions which did …

php mysql pdo prepared-statement
Why does my PDO statement -> execute return false?

After near endless rounds of testing different aspects of this, I've determined that the PDO connection works (I can run …

php pdo execute prepare
PHP: mysql v mysqli v pdo

I've been reading some questions regarding using mysqli versus pdo to use mysql in php. I've seen questions such as …

php mysql pdo mysqli