That would work if aFunction was a variable - more less.  It would
display the inner single quotes, so you'd really want:
echo "some text $aFunction some more text";

However, aFunction is, ironically, a function, so it needs to be a
function call.
echo "some text" . aFunction() . "some more text";

On Fri, 25 Jun 2004 10:09:42 -0500, Alicia Riggs
<[EMAIL PROTECTED]> wrote:
> 
> Your problem is the paren's
> 
> echo "'some text' $aFunction 'some more text'";
> 
> You need double quotes for the entire string, but single quotes around
> the text so it knows it is text.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to