![]() |
Trying to create a hyperlink
I am pulling data from a database and displaying it in a simple table.
My goal is to figure out how to be able to click on one of the 2 table headers, and make the page reload, sorting on the column selected. I am first of all trying to figure out to make the headers into "hyperlinks". I cannot figure it out. Here is my code, and I would appreciate any help or advice. Thank you. Code:
// get results from database |
Okay, this is really 90% a PHP question and only 10% MySQL.
And I don't use PHP. So bear with me if I make a couple of PHP typos. Code:
<!-- don't use PHP to write out large blocks of HTML --> |
Thanks Old Pendant. I appreciate your taking the time. Makes perfect sense once someone shows you!
|
| All times are GMT +1. The time now is 03:07 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.