I am working on creating a search box for my website which search my website pages. for this i create an array of containing a page name as key and it's link as a value. like below
<?php
$linkArray = array(
'Add New Vendor' => base_url().'index.php/vvendor',
'Add New Plan' => base_url().'index.php/plan',
'venodr page' => base_url().'index.php/vendor',
'Employee' => base_url().'index.php/employee'
);
?>
and a search box like
<input type="text" name="search_box" />
how to do it in the codeigniter way...???