(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0)
Introduction
Represents a connection between PHP and a database server.
Class synopsis
PDO
{
public __construct
(
string $dsn
,
string $username
= ?
,
string $passwd
= ?
,
array $options
= ?
)
public exec
(
string $statement
) :
int
public quote
(
string $string
,
int $parameter_type
= PDO::PARAM_STR
) :
string
}