• Home
  • Search Tags
  • About

pdo

Topics related to pdo:

Getting started with pdo

This section provides an overview of what pdo is, and why a developer might want to use it.

It should also mention any large subjects within pdo, and link out to the related topics. Since the Documentation for pdo is new, you may need to create initial versions of those related topics.

Prepare and Execute your SQL statements

Warning

Prepared statement cannot care a wild parameter for the table names. For exemple this following statement is not correct :

$query = "SELECT name, city FROM ? WHERE id = ? AND country = ?";

The correct prepared query would be :

$query = "SELECT name, city FROM users WHERE id = ? AND country = ?";

Content on the page is taken from Stack Overflow Documentation

This site is NOT affiliated with Stack Overflow or any of the contributors. | Privacy Policy | Terms of Service