I have a form that inserts records, I want first to generate an unique ID before submitting the form and assign it as the ID for the records that I will submit/insert.I am using MySQL for my DB.