CodeIgniter Forums
Need Help - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Need Help (/showthread.php?tid=42334)



Need Help - El Forum - 06-03-2011

[eluser]phpfresher[/eluser]
I have the url format like this:
http://localhost/cms_code/client/client_problem/0/status/asc
or
http://localhost/cms_code/client/client_problem/0/status/desc

My Requirement is to remove the asc or desc from the url . How can i rewrite this url


Need Help - El Forum - 06-03-2011

[eluser]toopay[/eluser]
send the parameter via $_POST?


Need Help - El Forum - 06-03-2011

[eluser]phpfresher[/eluser]
I am sending this parameter via anchor tag . In this case how can i send the data via POST method.
Can you suggest me the best solution please
Thanks


Need Help - El Forum - 06-03-2011

[eluser]toopay[/eluser]
You can build a "hidden" form, and use onclick event at your link/anchor, contain javascript function to send the hidden form.