Hi guys! Gday'..i have a program of counting of votes..i want to add viewing_bycourse.php
and viewing_bydepartment.php
for those who are already voted..
done with listing of all users who are already voted so i want to show the list of users by course and by deparment.. i dont know if sorting is one way for that..
here's my query $sql=mysql_query("Select * from students where voted=1 order by course");
this qyery shows only the order of all courses from A-up to the end..i want that every user who are goin to vote,when they log into the system, their course will go to the by_course if they are HRM or CS or IT..
tnx if someone can help me to find out for this..