[snip]
>>Use double quotes for HTML attributes.
>
> Why do you say that?
Yeah, I figured someone would ask that. :) I couldn't find anything
definitive on w3c.org; can someone back me up?
AFAIK, they are required in XML and XHTML. It's a good habit to get into
with regular HTML, also (althoug
On 12 September 2003 11:50, Ford, Mike [LSS] wrote:
> On 11 September 2003 19:56, CPT John W. Holmes wrote:
>
> > From: "murugesan" <[EMAIL PROTECTED]>
> >
> >
> > > This will help you
> > >
> > > > > $dins="Dinesh";
> > > echo " > > >";
> > > >
> >
> > Use double quotes for HTML attribu
On 11 September 2003 19:56, CPT John W. Holmes wrote:
> From: "murugesan" <[EMAIL PROTECTED]>
>
>
> > This will help you
> >
> > > $dins="Dinesh";
> > echo "";
> > >
>
> Use double quotes for HTML attributes.
Why? Both the HTML 4.01 and XHTML 1.0 (via XML 1.0) specifications explicitly a
On Thu, 2003-09-11 at 18:02, John W. Holmes wrote:
> Jim Lucas wrote:
>
> >>> >>> $dins="Dinesh";
> >>> echo "";
> >>>?>
> >>
> >>Use double quotes for HTML attributes.
> >
> > Why do you say that?
>
> Yeah, I figured someone would ask that. :) I couldn't find anything
> definitive on w3c
Vail, Warren wrote:
Question: will the substitution for the variable $dins occur if surrounded by single quotes?
I could be mixing languages here, but I seem to recall a rule in one language about substituting variable contents only occurring between double quotes.
In PHP, no, variables will no
: John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 5:03 PM
To: Jim Lucas
Cc: murugesan; Golawala, Moiz M (IndSys, GE Interlogix);
[EMAIL PROTECTED]
Subject: Re: [PHP] Problem with HTML Text box and PHP variable.
Jim Lucas wrote:
>>>>> $dins=&quo
Jim Lucas wrote:
> $dins="Dinesh";
>>> echo "";
>>>?>
>>
>>Use double quotes for HTML attributes.
>
Why do you say that?
Yeah, I figured someone would ask that. :) I couldn't find anything
definitive on w3c.org; can someone back me up?
AFAIK, they are required in XML and XHTML. It's a good h
hursday, September 11, 2003 11:56 AM
Subject: Re: [PHP] Problem with HTML Text box and PHP variable.
> From: "murugesan" <[EMAIL PROTECTED]>
>
>
> > This will help you
> >
> > > $dins="Dinesh";
> > echo "";
> > ?>
>
From: "murugesan" <[EMAIL PROTECTED]>
> This will help you
>
> $dins="Dinesh";
> echo "";
> ?>
Use double quotes for HTML attributes.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This will help you
";
?>
-Murugesan
- Original Message -
From: "Golawala, Moiz M (IndSys, GE Interlogix)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 11, 2003 10:35 PM
Subject: [PHP] Problem with HTML Text box and PHP variable.
I am having a problem with rend
try closing the value sections with single quotes that way the html
processiing can see the value
it was
echo "";
now is
echo "";
- Original Message -
From: "Golawala, Moiz M (IndSys, GE Interlogix)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 11, 2003 10:05 AM
Proper HTML attribute values are surrounded by double quotes. Otherwise
in sloppy mode, the HTML parser sees the pace between Hello and 1 and
things a new attribute by the name of 1 has been encountered.
Cheers,
Rob.
On Thu, 2003-09-11 at 13:05, Golawala, Moiz M (IndSys, GE Interlogix)
wrote:
> I
12 matches
Mail list logo