>Tried to check the archive, but it is offline...
>
>What does the "," and "{}" do in this type of statement?
>
>Example: echo "<tr><td>{$strName}</td></tr>", htmlspecialchars( $teststr );
The {} makes it *VERY* clear to PHP that $strName is a variable to be
"interpolated" into the string.
This Programmer has actually read the Documentation and believed the
warnings that some day just plain old $strName might not be enough.
The , simply gives more arguments to the echo construct.
You can echo as many things as you want, and they just get sent out one
after the other.
--
Like Music? http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php