Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $RandomChoicesArray=explode(",",$_GET["GeneralQuery"]);
- $RandomChoice = $RandomChoicesArray[mt_rand(0, count($RandomChoicesArray) - 1)];
- echo $RandomChoice;
- ?>
- Example: Decide.php?GeneralQuery=ace, die, clutch, team kill
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement