ok, what i wanted to do was:

        1. submit a variable ('param') to the following page

and independently

        2. on the following page jump to an anchor ('anchorname')

of course, if you want to submit the variable: 'value#anchorname' to the
following page the first approach ist the one and only

bye Matthias


Matthias Krehl
[EMAIL PROTECTED]


> -----Ursprüngliche Nachricht-----
> Von: Jon Haworth [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 6. März 2001 14:17
> An: 'Matthias Krehl'
> Betreff: RE: [PHP] ?param=value&#anchorname
>
>
> But if you're trying to pass an anchor as part of a hyperlink which is
> itself the contents of a variable, you DEFINITELY want to use the first,
> right?
>
> I can't see when you'd need the second. What are you using it for? (What
> happens to "#anchorname"?)
>
> Cheers
> Jon
>
> -----Original Message-----
> From: Matthias Krehl [mailto:[EMAIL PROTECTED]]
> Sent: 06 March 2001 13:14
> To: [EMAIL PROTECTED]
> Subject: [PHP] ?param=value&#anchorname
>
>
> I found this one. Perhaps it's interesting for someone. Maybe it's even a
> bug. Or maybe i ignored some specifications. However:
>
> This query:
>
>     foo-script.php?param=value#anchorname
>
> will lead to 'value#anchorname' for $HTTP_GET_VARS['param']
>
> Better is this one:
>
>     foo-script.php?param=value&#anchorname
>
> which will lead to 'value' for $HTTP_GET_VARS['param']
>
> bye Matthias
>
>
> Matthias Krehl
> [EMAIL PROTECTED]
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
> **********************************************************************
> 'The information included in this Email is of a confidential
> nature and is
> intended only for the addressee. If you are not the intended addressee,
> any disclosure, copying or distribution by you is prohibited and may be
> unlawful. Disclosure to any party other than the addressee, whether
> inadvertent or otherwise is not intended to waive privilege or
> confidentiality'
>
> **********************************************************************


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to