CodeIgniter Forums
help..problem with uri - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: help..problem with uri (/thread-48140.html)



help..problem with uri - El Forum - 01-05-2012

[eluser]transformer[/eluser]
I have made a controller, it need an sql string for its parameter. I try to write uri like this:
Localhost/ci/index.php/dbtable/index/select * from news
This produce an error that say I have a dissalowed char..
My controller:
Class Dbtable extend...
Function index($sql,$col_data=1)
Bla..bla..bla..

How can I send this parameter to the controller?
Thanks before