Menu

#4 adduser.php opencrm beta.0.9.1

open
PHP CRM (6)
5
2002-12-03
2002-06-03
Anonymous
No

When users are deleted from the db, the result of the
query "SELECT * FROM users where id < 2000" might
not be the user with the highest id; Adding a new user in
such a situation results in : Duplicate Entry.
To solve this problem the query could be:
"SELECT * FROM users where id < 2000 order by id"

Discussion

  • Kris Buytaert

    Kris Buytaert - 2002-12-03

    Logged In: YES
    user_id=62339

    Yet another rone to look at.

     
  • Kris Buytaert

    Kris Buytaert - 2002-12-03
    • assigned_to: nobody --> lefred
     

Log in to post a comment.

MongoDB Logo MongoDB