RIRedinPA Posted August 19, 2010 Share Posted August 19, 2010 I have this in my code: $dr =rand(0, 100); echo $dr; Here are the last 5 refreshes: 997 6336 6144 1110 2914 similar results when I use mt_rand()... Link to comment https://forums.phpfreaks.com/topic/211192-what-am-i-doing-wrong-with-rand/ Share on other sites More sharing options...
RIRedinPA Posted August 19, 2010 Author Share Posted August 19, 2010 oh for the love of God, I was in a loop... Link to comment https://forums.phpfreaks.com/topic/211192-what-am-i-doing-wrong-with-rand/#findComment-1101283 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.