pg_prepare

pg_prepare

(PHP 5 >= 5.1.0, PHP 7)

pg_prepare Submits a request to create a prepared statement with the given parameters, and waits for completion.

Description

resource pg_prepare ([ resource $connection ], string $stmtname , string $query )

pg_prepare() creates a prepared statement for later execution with pg_execute() or pg_send_execute(). This feature allows commands that