Timwi wrote:
Magnus Manske wrote:
There's a "INSERT ... ON DUPLICATE KEY
UPDATE" function in MySQL
which should avoid double creation.
Ah, but that would over-write the older 'cur' row, no?
Yes, but AFAIK, this "double creation" only happens if a new article is
submitted and saved twice (thrice etc.) in rapid-fire mode. So, it would
basically overwrite the information with the same information again.