Re: UPDATE Query
| From: | CHAILLAN Nicolas | Date: | Sat, 31 Aug 2002 23:56:32 +0000 |
| Subject: | Re: UPDATE Query | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114794@lists.php.net to get a copy of this message | ||
Can you please post the exact error?
--
Merci de nous avoir choisi. - Thanks you for your choice.
Nicos - CHAILLAN Nicolas
nicos@worldakt.com
nicos@php.net
www.GroupAKT.com - Hébergement Group.
www.WorldAKT.com - Hébergement de sites Internet
"Sascha Braun" <saschabraun@gmx.de> a écrit dans le message de news:
000c01c25142$b4d1b990$0f00a8c0@squitta...
I want to know if its possible to update two databases with one query?
Please look at this example:
UPDATE news_db, newsreferenz_db SET news_db.head = 'DFB Pokalasfasf',
news_db.text = 'alkfhaslk fl akshf lakshf lkahs lfk aslf yxvyxvyxvyxv',
newsreferenz_db.kat_id = '3' WHERE news_db.id = '6' AND
newsreferenz_db.news_id = '6'
it doesn't work.