mtechnologi Posted June 27, 2016 Share Posted June 27, 2016 Can anyone help me on how to generate random numbers when form is submitted and get the random value As unique ID number and insert into mysqli table together with form values. Link to comment Share on other sites More sharing options...
Ingolme Posted June 27, 2016 Share Posted June 27, 2016 In Javascript random numbers are generated with Math.random(), in PHP there is rand, mt_rand and random_int. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now