sql - How to call Model class inside a normal php file? -


im using codeigniter framework. want know if possible call class extends model inside normal php file. if possible, how? thnx in advance response.

yes it's possible. model php class. example have

class blogmodel extends ci_model {     ... } 

you in .php file

include 'path/to/blogmodel.php'; $blogmodel = new blogmodel();  $result = $blogmodel->some_function(); 

Comments

Popular posts from this blog

google app engine - 403 Forbidden POST - Flask WTForms -

Android layout hidden on keyboard show -

Parse xml element into list in Python -