Re: Writing double-prime to file? [message #184793 is a reply to message #184792] |
Sat, 01 February 2014 19:29 |
Denis McMahon
Messages: 634 Registered: September 2010
Karma:
|
Senior Member |
|
|
On Sat, 01 Feb 2014 19:26:32 +0000, Denis McMahon wrote:
> On Sat, 01 Feb 2014 18:00:30 +0000, Adrian Tuddenham wrote:
>
>> I did not think I was outputting the variable to HTML, the handler for
>> that code is written in PHP (although it does generate some HTML, but
>> the problem occurs before that bit).
>
> Regardless of how the data gets there, you're placing the string
> contents of the variable concerned in the value attribute of an input
> element in an html document.
Oh - check the view page source option in your web browser to see what
the web browser actually receives, or even use the w3c validator which
will highlight any errors and warnings for the html you are generating.
w3c validator is at http://validator.w3.org/unicorn/
--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
|
|
|