/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php class Form extends Controller { function index() { $this->load->library('validation'); if ($this->validation->run() == FALSE) { $this->load->view('myform'); } else { $this->load->view('formsuccess'); } } } ?>
Comments
