Hello,
I am codeing an app that will take user submitted forms and insert them to db and also e-mail the compleated form. That was the easy part. Now I would like to also write a function that will generate a unique ID for the submittion.
What I want it to do is take the first 3 letters of the user's name, user's zipcode, and a randomly generated 3 digit number.
i.e.
Name:Chris Hughes, ZIP 90247
ID CHR90247-874
Any help with the first 3 letter thing would be great!.
Thanks for reading.
Chris