RE: [PHP] Problem with HTML Text box and PHP variable.

2003-09-12 Thread Jay Blanchard
[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

RE: [PHP] Problem with HTML Text box and PHP variable.

2003-09-12 Thread Ford, Mike [LSS]
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

RE: [PHP] Problem with HTML Text box and PHP variable.

2003-09-12 Thread Ford, Mike [LSS]
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

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread Brad Pauly
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

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread John W. Holmes
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

RE: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread Vail, Warren
: 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

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread John W. Holmes
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

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread Jim Lucas
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 ""; > > ?> >

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread CPT John W. Holmes
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

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread murugesan
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

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread Chris Sherwood
; Sent: Thursday, September 11, 2003 10:05 AM Subject: [PHP] Problem with HTML Text box and PHP variable. I am having a problem with rendering PHP variables in an HTML text box. If the value of $myString is "Hello" the line below will render it correctly echo ""; However i

Re: [PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread Robert Cummings
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

[PHP] Problem with HTML Text box and PHP variable.

2003-09-11 Thread Golawala, Moiz M (IndSys, GE Interlogix)
I am having a problem with rendering PHP variables in an HTML text box. If the value of $myString is "Hello" the line below will render it correctly echo ""; However if the value of $myString is "Hello 1" then the line above will populate the text box with only "Hello" and it will loose the "1"