Need Help |
[eluser]phpfresher[/eluser]
How do i add id to these syntax: <?php echo anchor('user/new_holiday_request/reject_holiday/'.$new_holiday_request_detail['id'][$i],'Reject');?>
[eluser]InsiteFX[/eluser]
It really depends on what you are doing which you did not specify! If you are trying to create multiple anchors then you would need to use a for or foreach loop to loop through the id's. InsiteFX
[eluser]danmontgomery[/eluser]
http://ellislab.com/codeigniter/user-gui...elper.html Quote:The first parameter can contain any segments you wish appended to the URL. As with the site_url() function above, segments can be a string or an array. |
Welcome Guest, Not a member yet? Register Sign In |