New Zenner
- Join Date:
- Feb 2007
- Posts:
- 65
- Plugin Contributions:
- 0
Deriving (outputting, echoing) the current product URL? to create anchors
Simply put, if I'm looking at this url:
index.php?main_page=product_info&cPath=74&products_id=319
Is there a built-in PHP variable (e.g. $product_url) or something similar that I can simply output?
The reason:
I have tabs that reference #blah.
If I simply code the link as < a href="#blah">, it directs the browser to the HOME PAGE rather than staying on the current item.
If I were to reference the current url, e.g. < a href="current_url#blah" > it works beautifully.
Any ideas?
Creative Arc - Minneapolis Web Design