> You can use REPLACE instead of making two separate queries (UPDATE and
> INSERT) because it checks if it is there, and if it's not, then it
adds
> it;
> otherwise it updates it.  I think that's right ... but the SQL
server's
> SQL
> server is broken! (the irony!)

Just note that REPLACE is MySQL specific. A solution using it may not be
portable to other databases. May or may not matter to you...

---John Holmes...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to