php - what is the proper way of passing query data to view -
what best way of passing queried data view via function ?? tried passed mysql_query() result data , process in view , create dynamic array in function (mysql_fetch_array()) , pass data...i want know best way of doing process???
if "proper" mean mvc way of doing it, you'd process data in controller , have controller render view final output.
if aren't using mvc framework, i'd highly recommend codeigniter.
Comments
Post a Comment