Raised This Month: $ Target: $400
 0% 

Register in the SQL if not already there?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 01-21-2007 , 16:43   Re: Register in the SQL if not already there?
Reply With Quote #2

Use:

Code:
INSERT INTO ... VALUES (...) ON DUPLICATE KEY UPDATE ...
http://dev.mysql.com/doc/refman/5.0/en/insert.html
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode