--- Timo Boettcher <[EMAIL PROTECTED]> wrote:
> > http://shiflett.org/dev/php-general/ampersand.php
>
> can you put the source of that online, too?

You can view the source in your browser to see the HTML, which is the relevant
part. If you see the HTML entity for an ampersand in your browser's location
bar after submitting the form, then your browser has a bug. If you only see a
plain ampersand, your browser is fine, and your code has a bug.

> I get the same result as you do.
> BUT: that page doesn't validate.... *g*

Look again. Mine is not a full page, obviously, in order to focus your
attention to the relevant markup. What is there is XHTML-compliant. I'm not
sure what "validate" means to you, but your earlier complaint about an
ampersand not validating leads me to believe you were validating against XHTML
transitional or strict. You can let us know which, if you want, but it is
irrelevant to your immediate problem.

I am trying to not let you distract yourself; this is what makes solving
problems more difficult for many people.

> <FORM action="page.php?Customer=test&User=test" METHOD=POST>

The HTML entity for an ampersand is:

&amp;

Use that instead of the ampersand in your above example.

Hope that helps.

Chris

=====
My Blog
     http://shiflett.org/
HTTP Developer's Handbook
     http://httphandbook.org/
RAMP Training Courses
     http://www.nyphp.org/ramp

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to