Re: Re: Anyone Up?
| From: | Brian Clark | Date: | Fri, 01 Feb 2002 09:33:14 +0000 |
| Subject: | Re: Re: Anyone Up? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83089@lists.php.net to get a copy of this message | ||
* hugh danaher (hdanaher@earthlink.net) [Feb 01. 2002 04:21]:
> Not familiar with anything but php and html.
XHTML isn't too different. There are different `rules' -- like tags
and attributes must be lower case, values must be surrounded by double
quotes, tags without closing tags: <br />, <img src="i.gif" alt=" "
/>,
Etc..
> I know that in a type=text (obviously not a checkbox) if you don't
> use the escape backslashes, the value written into the box is 'Your'
> without the 'Name #' I am told this is because the browser views the
> space after 'r' in 'Your' as a break and is looking at Name # as the
> next instruction, which it isn't. My two cents for the evening.
Yes, that's why you surround the value in quotes. :-) Escaping has
noting to do with it really, unless you're print()ing like:
print "Brian is a little off his \"rocker\"";
Likewise:
print 'Brian is somewhat \'out of it\' most of the time';
The problem you spoke of happens when you do this:
<input type="text" name="brian" value=is insane>
IIRC, $brian would turn out to contain 'is' without the insanity.
--
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
I intend to live forever - so far, so good.