[ SOLVED ] pass variables through url with anchor

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
paladaxar
Forum Commoner
Posts: 85
Joined: Fri Jun 18, 2004 11:50 pm

[ SOLVED ] pass variables through url with anchor

Post by paladaxar »

I cant seem to get my site to pass a variable through a URL that has an anchor in it. Is this even possible? If so, what is the format/order for doing so? Variables first? Anchor first? Neither seem to be working for me.
Last edited by paladaxar on Wed Dec 14, 2005 1:44 pm, edited 1 time in total.
paladaxar
Forum Commoner
Posts: 85
Joined: Fri Jun 18, 2004 11:50 pm

Post by paladaxar »

I got it. Sorry about that.

This is the format that i used (incase anyone else is wondering): http://www.foo.com/bar.php?var=value&#anchor_name

I wasnt using the '&' before.
Post Reply