hi .i am looking for some code to generate a random number for users. this number will then be inserted to there profile . its the actual random number generating thats giving me the head ache . seen so many different codes on how to do it its confused me .
<?php
$random = rand (1, 500)
echo" $random";
?>
this is the simplest of the lot i have found but i cant get it to show the number on the page . am getting error on line 3.
any help appreciated.