[FX.php List] Stumbled on something I hadn't realized...

Bob Patin bob at patin.com
Thu Nov 13 12:19:07 MST 2008


I wish I'd known that about 3 years ago! I've got tons of code where I  
used $var." and then the text".$and_then_another_variable

which is a huge pain...


On Nov 13, 2008, at 1:15 PM, Steve Winter wrote:

>
> Hi Bob,
>
> That works so long as you use " " in your echo statement not ' '
>
> $name = "Bob";
> echo "Hello $name"; // echos Hello Bob
> echo 'Hello $name'; // echos Hello $name
>
> Cheers
> Steve



More information about the FX.php_List mailing list