> I don't know if this is going to solve it, but you don't need the quotes
> around the variable name....

It is not just "you do not need" - it is "you better not". Whenever you do
not have a complex string with several variables inside - it is better to
say: $variable . '....string....' than "$variable....string...."

Why? Because with double quotes you are forcing PHP to parse the string for
variable names and escaped characters (it can't know in advance if there are
variables in the string or not.) With single quotes there is no parsing
(except for the escaped single quote.)

Also, when the variable is within double-quptes, you need to be extra
careful are there clear separators around it (a space or a comma.) If you
suddenly realize you need to have some text immeditely next to the variable,
you will either need to use {} around the variable, or finally take it out
of the quotes.

Svemir



____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to