I am in a key moment of development and I wanted to have a board on how you do to optimize my treatment to identify duplicates basis for an update since the key and value are unique.
The elements are:
- An associative array built from upstream values posted via a form (key/value)
- A database
Do I have to scan my associative array to identify the duplicate of the table, to select and directly compare the values and key base? Only the field values and then see if the id matches the key of the table? I do not know if I'm clear ...
Bookmarks