Re: Hmm? A problem with the WWW-Validator?

> URL = index.php?var1=true&var2=false
>
> $_GET would now contain
> Array( "var1" => "true", "var2" => "false")
>
> And if you try this example
>
> URL = index.php?var1=true;var2=false
>
> $_GET would now contain
> Array("var1" => "true;var2=false")

hmm just use & instead of & , and everything should work fine. I use
the & on my site @ http://www.xml-dev.com/blog

Here is what is happening:
'&' signifies the begining of of an entity (e.g.   & > <
etc), and your URL reads:

....&mode....

The validator think &mode is an entity, which is not true.


Saqib Ali
-------------
http://validate.sf.net <---- (X)HTML / DocBook Validator and Transformer

Received on Thursday, 5 February 2004 14:49:10 UTC