Lukeidiot Posted October 26, 2013 Share Posted October 26, 2013 Hello guys! What I am trying to do is make a random keypad where every time you load the page, a random keypad (1,3,2,4) (page reload) (2,1,4,3) (page reload) (1,2,3,4). It needs to randomly and uniquely generate a pin, only using 1 one number each time. BAD: (3,3,2,1) GOOD: (3,2,1,4) Any idea how to do this? Link to comment https://forums.phpfreaks.com/topic/283299-random-keypad-generator/ Share on other sites More sharing options...
requinix Posted October 26, 2013 Share Posted October 26, 2013 range and shuffle Link to comment https://forums.phpfreaks.com/topic/283299-random-keypad-generator/#findComment-1455509 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.