include_once('common.inc'); //Connect to the database (sets $gv_db, which is declared in common.inc) PgConnect($gv_db, $gv_server, $gv_dbname, $gv_user, $gv_password); $sql = 'SELECT csenetid FROM tbl_example;'; $rows = PgFetchRecordset($sql, $gv_db); ?>
This page allows access to two simple web services that show a get and a put to this simple table:
Column | Type | Not Null |
---|---|---|
csenetid | character varying(8) | NOT NULL |
lname | character varying(20) | nbsp |
fname | character varying(20) | nbsp |
solliloquy | text | nbsp |
lucky_number | integer |
Here are the records currently in the table.
primary key | GET | PUT |
---|---|---|
{$r['csenetid']} | Get | Put |
(new) | Put |