php update problems - Mailing list pgsql-general

From Mike Sears
Subject php update problems
Date
Msg-id 004801c00c93$b3308080$02945bd1@neutrino
Whole thread Raw
List pgsql-general
Having a slight problem w/ my postgres database. for some reaons its no longer updating anymore, and for what reason I'm unsure
 
if I'm right then the below "should" update the table I'm working in, though it doesn't. Is ther indeed something wrong here?

<?
require("dbconect.inc.php");
 
$result = pg_exec($db,
        "UPDATE news
SET date='$date' topic='$topic' body='$body' person='$person'
WHERE date='$date2' topic='$topic2' body='$body2' person='$person2' id2='$id';" );
 
pg_colse($db);
?>
 
Mike

pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Foreign key to all inherited tables
Next
From: Andrew McMillan
Date:
Subject: Re: php update problems