[thelist] PHP and anchors

Jason Lustig lustig at acsu.buffalo.edu
Sat Jan 13 13:40:31 CST 2001


>you gotta make it:
>options.php?user=Mr.%20P&page=1#anchor
>
>This won't work:
>options.php#anchor?user=Mr.%20P&page=1

Actually, the fsecond one, which you say won't work, makes more sense than
the other. You have the URL of the page without the querystring and with the
anchor, and then attach the querystring. I'm not sure what you have with the
first one; I tried it, and it didn't work before.

BTW, I'm writing/testing this on a win98 (don't have the bandwith to
download linux and dont' want to spend the $$) /apache 1.3.14/PHP 4.03
setup.

--Jason

http://www.alternate-universe.org/

*****

Your signiture determines your reality



>-----Original Message-----
>From: thelist-admin at lists.evolt.org
>[mailto:thelist-admin at lists.evolt.org]On Behalf Of Joe Crawford
>Sent: Saturday, January 13, 2001 1:02 PM
>To: thelist at lists.evolt.org
>Subject: RE: [thelist] PHP and anchors
>
>
>On Sat, 13 Jan 2001, Jason Lustig wrote:
>> OK... here's my URL:
>> options.php?user=Mr.%20P&page=1
>>
>> If I put a "#anchor" in there, it ruins the querystring. It
>either will ruin
>> the $page variable, or it won't take it as an anchor. I'm trying
>ot make it
>> work.
>
>you gotta make it:
>options.php?user=Mr.%20P&page=1#anchor
>
>This won't work:
>options.php#anchor?user=Mr.%20P&page=1
>
>Calling the page is paramount, the anchor is secondary, so should come
>second. That's my own pseudoscientific explanation for myself. :-)
>
>	Joe
>--
>Joe Crawford <mailto:joe at artlung.com>
> * I am a Web Designer and Developer;
> * Find out about me at : http://www.ArtLung.com
> * A Mailing List for San Diego Web Folks : http://WebSanDiego.org
>
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !
>
>





More information about the thelist mailing list