[PHP] Re: Comma question

2002-07-23 Thread Richard Lynch
>> This Programmer has actually read the Documentation and believed the >> warnings that some day just plain old $strName might not be enough. > >Where might these warnings be? I just perused this URL: > > http://www.php.net/manual/en/language.types.string.php > >especially where it talks about

[PHP] Re: Comma question

2002-07-23 Thread Joel Boonstra
Richard, > This Programmer has actually read the Documentation and believed the > warnings that some day just plain old $strName might not be enough. Where might these warnings be? I just perused this URL: http://www.php.net/manual/en/language.types.string.php especially where it talks abo

[PHP] Re: Comma question

2002-07-22 Thread Richard Lynch
>Tried to check the archive, but it is offline... > >What does the "," and "{}" do in this type of statement? > >Example: echo "{$strName}", htmlspecialchars( $teststr ); The {} makes it *VERY* clear to PHP that $strName is a variable to be "interpolated" into the string. This Programmer has ac

[PHP] Re: Comma question

2002-07-22 Thread Lee Doolan
> "B" == B I G D O G <[EMAIL PROTECTED]> writes: B> Tried to check the archive, but it is offline... What does the B> "," and "{}" do in this type of statement? B> Example: echo "{$strName}", htmlspecialchars( in this case, the {}s don't really do anything; but {}s allow variab