• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help..problem with uri

#1
[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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.