By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,460 Members | 1,095 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,460 IT Pros & Developers. It's quick & easy.

using a variable in and href statement

P: 1
i have a volusion webstore where affiliates are identified in url's by something called click id

ie

http://www.directshiptoner.com/SearchResults.asp?Cat=15&Click=2

in the case above the clickid=2

clickid is a variable already defined on the html page where i am at. i can make the click id display on the webpage by using this statement in my html code. "$(ClickID)"

i would like to be able to incorporate the "clickid" variable into an href statement using the URL listed above.

can anyone enlighten me on the appropriate syntax to do this if it is possible?
Jun 10 '11 #1
Share this Question
Share on Google+
1 Reply


ilya Kraft
100+
P: 134
Alright, I'm not sure, but I think you are looking for something like this

<a href="http://www.directshiptoner.com/SearchResults.asp?Cat=15&Click=<?php echo $ClickID; ?>"></a>
Jun 15 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.