SyntaxFix
Write A Post
Hire A Developer
Questions
This probably will solve your problem:
<?php print_r(array_rand(range(1,50), 5)); ?>