CodeIgniter Forums
help..problem with uri - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: help..problem with uri (/thread-48140.html)

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

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)

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