2017 Codeigniter Views Concept

2017 Codeigniter Views Concept

See organizer contains all the markup records header, footer, sidebar, and so forth. They can be reused by inserting anyplace in the controller. They are the interface plan which is shown on the client's program and can never be called straightforwardly, they must be stacked in the controller's document. Make a record and spare it in application/views envelope. For instance, we have made a record test.php,

2017 Codeigniter Views Concept


Loading Views On Controller

Now, go to your controller file (Main.php) and write this code as shown below.

Loading Views On Controller

 Note: The first letter in the name of the controller must be uppercase
Lebih baru Lebih lama

نموذج الاتصال