grocerycrud |
Hello,
I would like to know if this free download grocerycrud has any database ? I have check the code and wonder if there is any? The model is empty. But in the controller it loads the databases. http://www.grocerycrud.com/image-crud controllers/images_examples.php PHP Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Please help me understand the program? Second, can anyone recommend me a good tutorial to create my own library with CI ? Start with the simple one. Thanks in advance.
" If I looks more intelligence please increase my reputation."
(05-14-2016, 04:53 AM)davy_yg Wrote: ... This code loads the database LIBRARY, NOT the database itself.
CI 3.1 Kubuntu 19.04 Apache 5.x Mysql 5.x PHP 5.x PHP 7.x
Remember: Obfuscation is a bad thing. Clarity is desirable over Brevity every time.
You must create your database, it's not like Post Type on WP
NexoPOS 2.6.2 available on CodeCanyon.
Grocery CRUD is a tool which create a CREAD / READ / UPDATE / DELETE field by using a given table, or some enhancements using the built in callbacks.
To use Grocery CRUD you have to create a controller, and insert something like this in a public function. $crud = new grocery_CRUD(); $crud->set_table('MYTABLENAME'); $crud->set_subject('MYTABLENAME'); $output = $crud->render(); ( note: make sure you've properly made some views etc. ) On how to make your own library, well, it's actually quite well documented in the CI user guide. You can find it at http://www.codeigniter.com/user_guide/ge...aries.html |
Welcome Guest, Not a member yet? Register Sign In |