how i can call helper var inside controller |
[eluser]Fahad Alrahbi[/eluser]
hello , if i want any value of helper inside controller like this Code: $this->load->helper('form'); how ??
[eluser]LuckyFella73[/eluser]
The form helper is suppost to be used in your view file. Code: echo form_open('email/send'); See userguide for more information: http://ellislab.com/codeigniter/user-gui...elper.html
[eluser]Fahad Alrahbi[/eluser]
yes but is there anyway to use it in controller coz im using smarty i want convert helper data to array in the controller
[eluser]ojcarga[/eluser]
Yes you can do that. You can call a helper function into a controller. |
Welcome Guest, Not a member yet? Register Sign In |