INSERT statement

From: Date: Mon, 21 May 2001 08:54:05 +0000
Subject: INSERT statement
Groups: php.db 
Request: Send a blank email to php-db+get-9487@lists.php.net to get a copy of this message
Hi, I have problem with INSERT statement in PostgresSQL v.7.0.3. In one script I insert values in column1,column3,column5. Later I want to fill column2 and column4. I use INSERT INTO table (column2,column4) VALUES ('$x','$y') WHERE (column1 = $z) Php shows: Warning: PostgreSQL query failed: ERROR: parser: parse error at or near "where" in file.php on line x Thanks in advance Bartek Pawlik Poland -- 26 maja - Dzień Matki. Wygraj kwiaty dla swojej Mamy! Do rozdania 75 bukietów z dostawą i życzeniami. [ http://zakupy.onet.pl/prezenty.asp?k=7 ]

« previous php.db (#9487) next »