Welcome Guest, Not a member yet? Register   Sign In
anchor; get method; ?
#1

[eluser]PankajBalani[/eluser]
I have the following in my view:

<?php echo anchor('lb/test', $row->name, array('rowName'=>$row->Name)); ?>

and in the lb controller

public function test(){
$namearray['name'] = $this->input->get('rowName');
$this->load->view('newView',$namearray);
}

On 'newview' I have:
<html><body>You clicked on <?php echo $name; ?> </body></html>

doesn't work Sad ????


Messages In This Thread
anchor; get method; ? - by El Forum - 05-19-2012, 01:24 AM
anchor; get method; ? - by El Forum - 05-19-2012, 02:02 AM
anchor; get method; ? - by El Forum - 05-19-2012, 02:12 AM
anchor; get method; ? - by El Forum - 05-19-2012, 02:18 AM
anchor; get method; ? - by El Forum - 05-19-2012, 02:29 AM
anchor; get method; ? - by El Forum - 05-19-2012, 02:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB