Welcome Guest, Not a member yet? Register   Sign In
Data transfer from view to controller page
#1

[eluser]mahins area[/eluser]
HI


i HAVE A simple pblem

view page
===============================================
name mark action

test 12 *
xxxx 34 *

when i clicks on * i want to pass ID of that record to my controller page(In traditional php we can pass this by(<a href="form.php?id=&lt;?=$id;?&gt;">



but in our codignator how can we pass !
in actual how we transfer data from view to controller page?


please help me thanks in advance!
#2

[eluser]cideveloper[/eluser]
Using the url helper you can do this. The user guide is your friend especially this part

Code:
&lt;?php
$id=0;
echo anchor('controller/method/'.$id, '*');
?&gt;
#3

[eluser]mahins area[/eluser]
thnks again !things are now fine




Theme © iAndrew 2016 - Forum software by © MyBB