php update problems

From: "Mike Sears" <msears(at)vianet(dot)ca>
To: "pgsql-general" <pgsql-general(at)postgresql(dot)org>
Subject: php update problems
Date: 2000-08-22 23:50:07
Message-ID: 004801c00c93$b3308080$02945bd1@neutrino
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Sears 2000-08-23 00:37:11 Re: php update problems
Previous Message Andrew McMillan 2000-08-22 21:37:48 Re: php update problems