RE: [PHP-DB] UPDATE or INSERT
| From: | John W. Holmes | Date: | Wed, 21 May 2003 02:00:35 +0000 |
| Subject: | RE: [PHP-DB] UPDATE or INSERT | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27938@lists.php.net to get a copy of this message | ||
> What is a good way of handling data insertion/update into a mySQL
table
> when there may or may not be an existing record?
You can use REPLACE, but it's not standard SQL.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/