I'm trying to figure this out.. random number generator.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I'm trying to figure this out.. random number generator..

I'm trying to make it so it throws dice and gets a random number from 1 to 100, like gambling in EverQuest. https://code.sololearn.com/wscWR46Na4X5/?ref=app

19th Nov 2017, 9:28 AM
Howard Eugene Patrick Jr
Howard Eugene Patrick Jr - avatar
1 Answer
+ 3
<!doctype html> <html> <?php echo "rolls the dice for a.."; $min = 1; $max = 100; echo rand($min, $max); ?> </html> write this
19th Nov 2017, 9:57 AM
Jaydeep Khatri
Jaydeep Khatri - avatar