Randolpho St John wrote:
>
> Hello all. I'm new to the list, and I just have a quick question.
> Hopefully somebody can help me out.
>
> Anyway, here's the basics of what I want to do:
>
> I want to update a record or, if that record does not exist, create a
> new one.
Try the REPLACE... query. Look in the manual.
Its quite handy to use replace. =)
//Eric
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php