Re: Re: Anyone Up?

From: Date: Fri, 01 Feb 2002 10:07:38 +0000
Subject: Re: Re: Anyone Up?
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-83096@lists.php.net to get a copy of this message
On Fri, 2002-02-01 at 01:33, Brian Clark wrote: > * 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.. Everything is correct 'cept the 'double quotes' bit--XML accepts attribute values enclosed in either single or double quotes. Torben > > 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. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -- Torben Wilson <torben@php.net> http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506

« previous php.general (#83096) next »