Re: INSERT Question
| From: | Charles Kline | Date: | Tue, 01 Apr 2003 00:22:28 +0000 |
| Subject: | Re: INSERT Question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-26771@lists.php.net to get a copy of this message | ||
How would I modify the code below to handle an UPDATE?
On Sunday, March 30, 2003, at 07:19 PM, Charles Kline wrote:
then I built the INSERT like so: foreach($article_keys as $articleid) { $insert[] = "('$v_ib_id','$articleid')"; } $article_sql = "INSERT INTO tbl_ib_articles (issue_brief,article) VALUES " . implode(',',$insert);