Toni: mysql_insert_id

Beitrag lesen

Stimmt das is ja nur bei InnoDB - ach Mist :)

"Normally, you do not need to lock tables, because all single UPDATE statements are atomic; no other session can interfere with any other currently executing SQL statement."

mmh und nen INSERT fällt da nicht mit rein.

Also werde ich wohl einen Lock setzen müssen.