';
require_once ('mysql_connect.php');
$query = "select * from students order by student_name ";
$result = @mysql_query($query);
if ($result){
echo '
View All Students
';
echo '
';
echo '
';
while ($row = mysql_fetch_array($result,MYSQL_ASSOC)){
echo '';
echo ''.$row['student_name'].' | ';
echo ''.$row['student_category'].' | ';
echo ''.$row['student_pw'].' | ';
echo '
';
}
echo '
';
mysql_free_result($result);
}
else{
echo 'Problem: Unable to retrieve data at this time. Try again Later.';
}
echo '