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

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -