Welcome Guest, Not a member yet? Register   Sign In
variable from model to controller
#1

[eluser]Unknown[/eluser]
I am trying to pass a image file name from a model to a controller in order to add a record to my database (id,first_name,last_name,email). The image is not in a database. I upload the image but I can’t pass the variable from the model to the controller. When I turn the variable $file into a constant ($file=‘some_image’) it does work.

Thank you.


Messages In This Thread
variable from model to controller - by El Forum - 08-16-2011, 03:07 AM
variable from model to controller - by El Forum - 08-17-2011, 08:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB