Form Tag
Add of Two Number in CodeIgniter

Create Form in View Folder save this viewnumber.php

<!DOCTYPE html>

<html lang = "en">


      <meta charset = "utf-8">

      <title>CodeIgniter Basic Example</title>



      <form name="frm" action="student/test" method="post">

      Enter Number1<input name="number1" type="text" value=""/><br>

      Enter Number2<input name="number2" type="text" value=""/><br>



                  echo $number3;


      <input name="btn" type="submit" value="Submit"/>





Create Controller and save this student.php in controller folder.

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Student extends CI_Controller {

                public function index()





                public function test()