[eluser]inktri[/eluser]
What's an efficient algorithm for a function that tries to insert an entry... if the entry already exists, it returns the id of that already existing entry, else it inserts the new entry and returns the id of the new entry?
thanks for the help