Results 1 to 6 of 6
December 13th, 2005, 11:40 AM #1How to do <a> tag type bookmarks in php?
1) In html, you can use a bookmarl anchor tag like this on a page:
2) Then you can point to it from another page / elsewhere like:
3) And get the visitor / display to jump down the page to the section where you placed the html bookmark (#1 above) into the page.
How do you do that in php (for example, when the page renders as stuff.php (not as html))?
I tried the html way and the "#special" part seems to just be ignored - perhaps php only looks for value pairs appended in the query string? Or perhaps I'm just not appending the bookmark tag's info correctly to the php url?
December 13th, 2005, 11:41 AM #2
Shoot, meant to put this in the "CGI or PHP" subforum... Moderator, fix me?
December 13th, 2005, 12:26 PM #3
December 13th, 2005, 01:04 PM #4Originally Posted by Donuts
December 13th, 2005, 02:12 PM #5
I don't know what I was doing wrong earlier, but it's working now, as I wanted it too.
Thanks for the post - made me go back and try again to fiddle with it once you told me it should work.
Am using it like this and it's working:
So I guess the #special tail doesn't interfere with the param string and it's detected as usual to jump visitors down the page. Who knew? (you did!)
December 13th, 2005, 02:22 PM #6Originally Posted by Donuts
By buyjewelry in forum Programming / Datafeeds / ToolsReplies: 2Last Post: March 31st, 2008, 05:22 PM
By Donuts in forum Programming / Datafeeds / ToolsReplies: 3Last Post: December 13th, 2005, 01:04 PM
By TJ in forum Programming / Datafeeds / ToolsReplies: 4Last Post: July 23rd, 2003, 04:45 PM
By gettnthar in forum Suspicious Activity!Replies: 5Last Post: January 29th, 2002, 06:41 PM