|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
using a url to change display order?
Hello again all. I'm back with another query for the guru's. Not sure if this is php or html ? but here goes
I have my db output as such: name | age | dob bob | 14 | whatever tom | 21 | whatever etc. I'd like to have 'name' and 'age' be links to show the same info but ordered by 'name' or 'age'. Can this be done in the url as in: www.mydomain.com/ages.php?ORDERBY=age I tried several similar strings but nothing works. Just refreshes the current page. Without making a separate php page with the different order by queries is this possible and if so, what's the proper syntax? Thanks for any info Scurvy |
|
#2
|
|||||
|
|||||
|
RE: using a url to change display order?
You could do something like this....
php Code:
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > using a url to change display order? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|