Re: [PHP4BETA] Enhancement Request

[email protected] ("Christian Wenz") Wed, 31 May 2000 10:08:20 +0200
Newsgroups php.version4
Message-ID <004501bfcad7$e809d0c0$cc9d14d5@christian>
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