CodeIgniter Forums
help..problem with uri - 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: help..problem with uri (/showthread.php?tid=48140)



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