Re: w3c-compliant form-action parameters

From: Date: Sat, 25 Oct 2003 18:06:10 +0000
Subject: Re: w3c-compliant form-action parameters
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-167575@lists.php.net to get a copy of this message
--- Timo Boettcher <spida@gmx.net> 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

« previous php.general (#167575) next »