Janzeer
Headmaster Of Hogwart's
- Apr 30, 2012
- 522
- 47
Hey! i was trying to echo sql results and manage to do it. However the code only echo's 1 username while i have 3 username's in database, Can anyone help me with echo-ing the complete amount of username's in the database?
You must be registered for see images attach
You must be registered for see images attach
PHP:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
Applied Applicants :
<?php
$Applicant = mysql_fetch_array(mysql_query("SELECT UserName FROM staffapps"));
echo '<a style="color: black;text-decoration: none;" href="viewapplication?id='.$Applicant['UserName'].'">'.$Applicant['UserName'].'</a>';
?>
</body>
</html>