Hi,
I use PEAR DB for my db handling. The problem I am facing right now is, sometimes they might had possibility, have duplicate key(unique field) error, so it might cause either data not record into db at this time.
error message:
1062: Duplicate entry '1525758' for key 1
DB Error: already exists: INSERT....
So, is there any function i can use to lock the key id?
Thanks
Louis