H All,
I've been having a little bother with validation of my PHP generated
pages. I'm new to PHP/mySQL and I'm finding that some peculiar things
happen, such as /body and /html appear in the middle of the code.
(???) Also, I find that submitting a URL such as:
I'm not clued up on php or mySQL but if you use amersands then you need
to display it as such amp; otherwise it wont validate.
designer wrote:
H
All,
I've been having a little bother with validation of my PHP generated
pages. I'm new to PHP/mySQL and I'm finding that some peculiar
designer
I'm new to PHP/mySQL and I'm finding that some peculiar things
happen, such as /body and /html appear in the middle of the code.
Difficult to know without seeing a URL and the associated PHP code.
Sound like an error in the PHP to me, though...
Just a quick note that'll help:
In the URL, the special characters (such as ampersands, question marks,
etc) need to be converted to html character entities. You can find
entity codes from:
http://www.ascii.cl/htmlcodes.htm
For example:
ampersand can be #38; or amp;
question mark is #63;
On Mon, 14 Nov 2005 12:09:42 +, designer wrote:
I've been having a little bother with validation of my PHP generated
pages. I'm new to PHP/mySQL and I'm finding that some peculiar things
happen, such as /body and /html appear in the middle of the code.
(???) Also, I find that
Tim Burgan wrote:
Just a quick note that'll help:
In the URL, the special characters (such as ampersands, question marks,
etc) need to be converted to html character entities.
Question marks do not need to be converted.
Regards
--
Bert Doorn, Better Web Design
Thank you Gentlemen,
Very helpful as always!
(I mean it!)
--
Best Regards,
Bob McClelland
Cornwall (UK)
www.gwelanmor-internet.co.uk
**
The discussion list for http://webstandardsgroup.org/
See
designer wrote:
H All,
I've been having a little bother with validation of my PHP generated
pages. I'm new to PHP/mySQL and I'm finding that some peculiar things
happen, such as /body and /html appear in the middle of the code.
(???) Also, I find that submitting a URL such as:
Another issue: this may be caused by ussing sessions. When PHP manages
sessions using GET queries as opposed to Cookies it might do this to
your. What it does is appends PHPSESSION=w/e to the end of your urls,
by default the is *not* escaped. There's a way (in php.ini I think) to
fix it. Check
Hi
This has been discussed on the list before but the quick answer to
URL's generated by PHP automatically (like its session handler)
is to use
ini_set(arg_separator.output,
amp;);See :
http://php.mirrors.ilisys.com.au/manual/en/ini.core.php#ini.arg-separator.outputIf you generate URL's
10 matches
Mail list logo