CodeIgniter Forums
how avoid URL parameters? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: how avoid URL parameters? (/showthread.php?tid=48121)



how avoid URL parameters? - El Forum - 01-05-2012

[eluser]nikos[/eluser]
Hi all.

I am new in Codeigniter and i need your help please.

I have the following problem:

I would like to delete a record from a db table. Codeigniter works like that:

www.mysite.com/index.php/controller/function/3 and in my case i have this:

www.mysite.com/index.php/news/delete/3

Is it possible to delete a record and having something like that? : www.mysite.com/index.php/news/delete

I dont want to display the ID in URL parameter. Codeigniter support this way?