summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests/pg_delete.inc
blob: 33ba80e727325461251ed417a627a6e5b70161b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
error_reporting(E_ALL);

include 'config.inc';

$db = pg_connect($conn_str);

$fields = array('num'=>'1234', 'str'=>'XXX', 'bin'=>'YYY');
$ids = array('num'=>'1234');
if (!pg_delete($db, $table_name, $ids)) {
	echo "Error\n";
}
else {
	echo "Ok\n";
}

?>