Re: Comma question
| From: | Lee Doolan | Date: | Mon, 22 Jul 2002 23:01:49 +0000 |
| Subject: | Re: Comma question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108951@lists.php.net to get a copy of this message | ||
>>>>> "B" == B I G D O G <bigdog@venticon.com> 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 "<tr><td>{$strName}</td></tr>",
B> htmlspecialchars(
in this case, the {}s don't really do anything; but {}s allow variables
like this
echo "<tr><td>{$obj->strName[$i]}</td></tr>";
and so forth.
--
When the birdcage is open, | donate to causes I care about:
the selfish bird flies away, | http://svcs.affero.net/rm.php?r=leed_25
but the virtuous one stays. |