RE: [PHP-DB] How can I update an record in Mysql
| From: | Lars Wilhelmsen | Date: | Mon, 07 Aug 2000 12:54:56 +0000 |
| Subject: | RE: [PHP-DB] How can I update an record in Mysql | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1823@lists.php.net to get a copy of this message | ||
RTFM. www.mysql.com
UPDATE tablename set field1='blah', field2='blah2' WHERE Id='%id';
--
Lars Wilhelmsen <lw@ez.no>, developer @ eZ systems <www.ez.no>
-----Original Message-----
From: David Tandberg-Johansen [mailto:david@datajo.no]
Sent: 7. august 2000 14:49
To: php-db@lists.php.net
Subject: [PHP-DB] How can I update an record in Mysql
Hello all!
I am trying to use
REPLACE INTO table WHERE id LIKE '$id'
but this wouldn't work
I have also tried with UPDATE
plaese help
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net