I believe that single quotes prevents the substitution of variables. See
string types in the PHP manual.

> From: Isaac Reuben <[EMAIL PROTECTED]>
> Reply-To: "FreeTrade" <[EMAIL PROTECTED]>
> Date: Sun, 30 Jan 2000 15:56:12 -0800 (PST)
> To: [EMAIL PROTECTED]
> Subject: [FreeTrade] Single vs. Double quotes
> 
> Anybody have a serious preference for using double quotes over single quotes
> for tag attributes?  I like single so you can do things like this:
> 
> print("<INPUT TYPE='hidden' NAME='ACTION' VALUE='$action'>\n");
> 
> instead of:
> 
> print("<INPUT TYPE=\"hidden\" NAME=\"ACTION\" VALUE=\"$action\">\n");
> 
> Single and double are both ok according to w3, but I noticed that double
> quotes seem to be used everywhere in FreeTrade.
> 
> - Isaac  =)



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to