Welcome Guest, Not a member yet? Register   Sign In
passing input value from view to model
#3

I don’t think this will solve all of your issues but since you are sending your POST data from your view to the controller “main_ctlr/next_info” , the variable $abc (currently in your model) should be in your controller. After receiving the POST data in your controller, you can use it in your database query.

Also, I notice a “ > “ sign right after infoID, in the second line within the database query under the function get_next_info.
Reply


Messages In This Thread
RE: passing input value from view to model - by matchplay - 07-06-2018, 08:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB