PHP 8.5.0 Alpha 2 available for testing

Voting

: max(three, two)?
(Example: nine)

The Note You're Voting On

Hayley Watson
8 years ago
To specify a schema as well as a table name, use the "schemaname.tablename" form as usual for PostgreSQL and the other functions in this extension. Without the prefix, of course, the default schema search path is used.

<?php
$meta
= pg_meta_data($dbconn, 'foo.bar'); // table "bar" in schema "foo"
if (is_array($meta)) {
var_dump($meta);
}
?>

<< Back to user notes page

To Top