I have a problem in creating variable in a loop and accessing third variable value, i did try many way but now i don't know how to do that.... the code is..
$rand_1 = random_username($_POST['txtuser_name']);
$rand_2 = random_username($_POST['txtuser_name']);
$rand_3 = random_username($_POST['txtuser_name']);
$username = "";
for($i=1; $i<=3; ++$i){
$name = "rand_".$i;
$username .= $name."<br />";
}
echo $username;
Any suggestion.....