Welcome Guest, Not a member yet? Register   Sign In
passing variable in URL
#3

[eluser]TWP Marketing[/eluser]
Assuming you have the value in the variable $city, then this should pass that value back as segment 5. Don't forget the slash after the function name "details".

Code:
&lt;?=anchor('index.php?/display_add/details/'.$city, '<img src="images/find.gif" border="0" alt="">');?&gt;


Messages In This Thread
passing variable in URL - by El Forum - 06-22-2009, 04:44 PM
passing variable in URL - by El Forum - 06-22-2009, 04:54 PM
passing variable in URL - by El Forum - 06-22-2009, 04:56 PM
passing variable in URL - by El Forum - 06-22-2009, 04:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB