Re: [PHP4BETA] Enhancement Request
| From: | Christian Wenz | Date: | Wed, 31 May 2000 08:08:20 +0000 |
| Subject: | Re: [PHP4BETA] Enhancement Request | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15960@lists.php.net to get a copy of this message | ||
Hello,
> print "<img
> src=\"$ad->OutputPhoto($cat,$valObject->AdID)\">";
> Can anyone explain why being inside the <img src=> tag would cause
> it to become an undefined property?
The problem is not the tag - it's the quotes. You can only call variables
within double quotes, but not functions.
Regards
Christian