CodeIgniter Forums

Full Version: help..problem with uri
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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