I am sending ID through anchor tag in codeigniter

```
<a href='sectionEmpList/".$post_array['userSecId']."'>

```

and I am catching the value in controller like:

```
public function sectionEmpList($id){ 
    $secID = $id;
    echo $secID;  
}

```

but it shows following error

> 
> A PHP Error was encountered
> 
> 
> Severity: Warning Message: Missing argument 1 for
>  Dashboard::sectionEmpList() Filename: controllers/Dashboard.php Line
>  Number: 302 Backtrace:
> 
> 
> File: D:\xampp\htdocs\mecon\application\controllers\Dashboard.php
>  Line: 302 Function: \_error\_handler
> 
> 
> File: D:\xampp\htdocs\mecon\index.php Line: 292 Function: require\_once
> 
> 
> 

Can any one suggest what is the solution.