CodeIgniter Forums
how avoid URL parameters? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter Archived (from EllisLab) (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: how avoid URL parameters? (/thread-48121.html)



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:

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

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

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

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