Postgresql Problem

wxdqz

New Member
I just got started with Postgresql and PHP, so far I can have my websites read the queries I'm sending Postgres and print them on the screen, but whenever I try to put information into the database nothing ever happens.

I.E.
$val = pg_exec($db,
"INSERT INTO database_name VALUES(1,'hi')");

it doesn't return an error, but when I check the database for that row, it's not there.

Any help for a new guy?

--John
 
Back
Top