Welcome Guest, Not a member yet? Register   Sign In
how to manage form_checkbox().
#1

[eluser]dimaomni[/eluser]
Hello!
Firstly I just submit data from form_dropdown() for "INSERT" query.
So I deal with function named like smthAdd in Controller and Model.
Now I add check-box for choose "INSERT" query or "SELECT" query.

And I don't know what the best way to deal with it.Rename my functions and write IF () condition in model, or write IF () in VIEW and pass data to different functions.

But its seems for me like not best way.

Could you help me ?




Theme © iAndrew 2016 - Forum software by © MyBB