First hello everyone, this looks like a really good community for PHP. I'm just starting PHP and MySQL. I picked up a PHP and MySQL for dummies, but I think I got an older version because I couldn't get it to work until I came here and used some code in the sticky at the top.
Ok so right now I'm toying around with a database. My eventual plan is to display every NFL Player (25 at a time) and link to each of their profile pages which will have a total of 17 facts of information ranging from name to where the played in high school to their twitter account.
Right now I'm trying to figure out how to allow a user to resort the page just by clicking a link.
I currently have created a basic version just for learning reasons four columns of information, lastname, firstname, position, and college.
I'm using
"SELECT * FROM Players ORDER BY lastname"
Do I have to create an entire new page to reorder it or is there a function that will reorder it for the user?