Welcome Guest, Not a member yet? Register   Sign In
Dynamically generated URLs
#2

[eluser]omed habib[/eluser]
[quote author="omed" date="1195883134"]I'm creating URLs dynamically that pull from the existing (dynamically) generated URL. My question is, is there a cleaner way to do the following:
Code:
<a href="&lt;?=site_url()?&gt;/store/&lt;?=$this->uri->segment(2)?&gt;/&lt;?=url_title($Product['name'])?&gt;">
The current URI is: store/hats/1

I want to just add another two dynamic variables to the end of it, such as:

store/hats/productnumberone/23[/quote]


Messages In This Thread
Dynamically generated URLs - by El Forum - 11-23-2007, 05:45 PM
Dynamically generated URLs - by El Forum - 11-23-2007, 05:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB