GreenSmurf Posted June 4, 2008 Share Posted June 4, 2008 Is there a more secure way of creating the links in this sort? I would much rather the ?sort=... did not display in the URL. <tr padding="0" align="center"> <td> </td> <td><u><a href=index.php?sort=clientID&order=<?php echo $rOrder ?>>Client ID</a></u></td> <td><u><a href=index.php?sort=lastname&order=<?php echo $rOrder ?>>Lastname</a></u></td> <td><u><a href=index.php?sort=firstname&order=<?php echo $rOrder ?>>Firstname</a></u></td> <td><u><a href=index.php?sort=boss&order=<?php echo $rOrder ?>>Company</a></u></td> <td><u><a href=index.php?sort=email&order=<?php echo $rOrder ?>>E-mail</a></u></td> <td><u>Phone #</u></td> <td> </td> <td> </td> <td> </td> <td> </td> <td> </td> <td><u><a href=index.php?sort=clientID&order=<?php echo $rOrder ?>>Accountant</a></u></td> <td><u>Activity</u></td> </tr> Thank you. -Brandon Link to comment https://forums.phpfreaks.com/topic/108771-solved-sort-by-table-header/ Share on other sites More sharing options...
realjumper Posted June 4, 2008 Share Posted June 4, 2008 Perhaps mod_rewrite? Link to comment https://forums.phpfreaks.com/topic/108771-solved-sort-by-table-header/#findComment-557979 Share on other sites More sharing options...
DarkWater Posted June 4, 2008 Share Posted June 4, 2008 Using mod_rewrite will still make it display in the URL, but it'll be a bit more graceful. Link to comment https://forums.phpfreaks.com/topic/108771-solved-sort-by-table-header/#findComment-557980 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.