Here's the problem, I have two usernames, both of which are being called and stored in the variable $username, but for some reason, only one is being printed.
While there are 2 usernames, only one gets printed. Any thoughts?Code:<?php //just get the all the user's names from the username column $sql="SELECT username FROM useradmins"; //connect to db, etc. include("connect.php"); //while there exists a username in the array, run this code while($row=mysql_fetch_array($sql_result)) { //set the variable $username to hold the username value that was in the mysql column $username=$row["username"]; //call the script that then takes the username variable and prints it out include("featured.php"); print "<br>"; } ?>




Reply With Quote