Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Random Number
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #3
RE: Random Number
(11-19-2015 03:48 AM)Greig Wrote:  How to set the min and max number? I want the numbers to be between 1 and 10. Is this possible?
You can use <?=mt_rand(1,10)?>

(11-19-2015 03:48 AM)Greig Wrote:  Will this show below the users text? I have a forum which users post this:

Forum Name
Forum Link

Your Random Number is: 10 (example)

Not quite sure where the "Forum Name" and the "Forum Link" come from. Are they post message or other custom thread fields?

11-19-2015 03:54 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Random Number - RateU - 11-19-2015, 03:20 AM
RE: Random Number - Greig - 11-19-2015, 03:48 AM
RE: Random Number - RateU - 11-19-2015 03:54 AM
RE: Random Number - Greig - 11-19-2015, 03:54 AM
RE: Random Number - RateU - 11-19-2015, 04:00 AM
RE: Random Number - Greig - 11-19-2015, 04:05 AM
RE: Random Number - RateU - 11-19-2015, 04:16 AM
RE: Random Number - ZiNgA BuRgA - 12-03-2015, 05:15 PM
RE: Random Number - RateU - 12-04-2015, 06:59 AM
RE: Random Number - ZiNgA BuRgA - 12-06-2015, 04:36 PM
RE: Random Number - RateU - 12-11-2015, 02:06 AM

 Standard Tools
Forum Jump: