Welcome Guest, Not a member yet? Register   Sign In
Validation for duplicated on form
#2

If you create an array of your serial numbers like serial[1], serial[2] etc. you can use the array_unique function to remove any duplicates from this array. Then count the number of items in the original array and compare it to the number of items in the array_unique array. If it differs, you know there were duplicates
Reply


Messages In This Thread
RE: Validation for duplicated on form - by JustJohnQ - 06-16-2023, 01:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB