|
Posted by Jukka K. Korpela on 12/19/06 12:19
Scripsit David Dorward:
> Jukka K. Korpela wrote:
>> But the correct syntax is
>> <a href="xxx?page=2&chapter=5>
>> The _URL_ here is of course xxx?page=2&chapter=5.
>
> You can usually use ";" instead of "&" though, which nicely removes
> the need to convert to entities.
I can use a character of my choice, such as ";" or "X", if I am in control
of the server-side script and if I do not need to care about what browsers
do when constructing a form data set. This means, more or less, that
_usually_ I cannot choose the separator between fields but must use "&",
which shall be encoded in HTML as & or using a character reference.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
[Back to original message]
|