RE: [GENERAL] Updating multiple fields

From: "Rob den Boer" <rdboer(at)hrs-rotterdam(dot)nl>
To: "Joao Paulo Felix" <felix(at)cyclades(dot)com>
Cc: "Pgsql-Sql" <pgsql-sql(at)hub(dot)org>
Subject: RE: [GENERAL] Updating multiple fields
Date: 1998-06-30 11:16:38
Message-ID: 000d01bda418$8ce79700$67032e9f@hrs_nt.hrs
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

Hi Joao,

> -----Original Message-----
> From: owner-pgsql-general(at)hub(dot)org [mailto:owner-pgsql-general(at)hub(dot)org]On
> Subject: [GENERAL] Updating multiple fields

How about this:

pg_Exec($conn, "UPDATE options SET description = '$description' , info =
'$info' , title = $title' WHERE product = '$product' AND title =
'$old_title';");

regards
Rob den Boer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rob den Boer 1998-06-30 11:16:40 RE: [GENERAL] vacuuming
Previous Message The Hermit Hacker 1998-06-30 02:29:19 Re: [GENERAL] LIKE (SQL operator)

Browse pgsql-sql by date

  From Date Subject
Next Message Trinh Hoai Nhan 1998-06-30 16:24:20 Where is the String Length function?
Previous Message Zsolt Varga 1998-06-30 08:20:11 Re: [SQL] Finding strings inside a field...