joomla - How does my MVC controller query one database table before writing to another? -


i working on custom joomla mvc component.

my view has form user enters id. have retrieved id ($input_id) in controller. need query database name id = $input_id, write name different database table.

can done within controller or have pass variables model somehow? not sure of correct way achieve within mvc framework.

all data , data manipulation should done in model (e.g. model data). controller there determine path of execution , methods should called (e.g. manager aka controller determines needs done).

have @ tutorial understand mvc joomla better taking through development of simple component.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -