I have a line in my web page that shows a series of years. When you click on a year it would normal open the page that is predetermined to show only that year. I would like to so that it would bring over that year and sort by that year.
Currently
link on html page
<a href=”Player_Roster2010.php”>2010</a><br />
Currently
<?php
$query = “SELECT * FROM players
WHERE playeryear = 2010
ORDER BY number”;
$players = mysql_query($query);
?>
So in a nut shell when I click on 2010 it would open Player_Roster.php file and sort 2010?
Thanks for all you help.
I have been reading a lot on this site don’t yet get it, but hoping to soon…