Welcome Guest, Not a member yet? Register   Sign In
How to send object from view to controller
#1

[eluser]zawaruddin[/eluser]
i have a problem...
i have an object/array (from import excel file) in "controller". i send it to "view" to display the content of file. In other reason this object/array must be export to excel again, but not in same file and not all content to be export...

thank's ...

sorry about my english.,.
#2

[eluser]sooner[/eluser]
check the controller user guide of codeigniter to know how to pass values to the view..
#3

[eluser]zawaruddin[/eluser]
[quote author="sooner" date="1294392070"]check the controller user guide of codeigniter to know how to pass values to the view..[/quote]

thanks be4... but i already pass value to the "view" (to display data), but the problem is how to pass value to "controller"?
the value is array/object...

i've no idea...
#4

[eluser]Nick_MyShuitings[/eluser]
You would need to post it to the controller, whether as a serialized object or json encoded object in a form field, or via ajax.




Theme © iAndrew 2016 - Forum software by © MyBB