maxudaskin Posted July 27, 2007 Share Posted July 27, 2007 Is it possible to use the rand function with a variable? Quote Link to comment Share on other sites More sharing options...
Devine Posted July 27, 2007 Share Posted July 27, 2007 yes it is. I used the code: $check_rand_num="10"; $check_rand=rand('1',$check_rand_num); worked great Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.