note 7803 added to print
| From: | jschuhr at hotmail dot com | Date: | Wed, 16 Aug 2000 02:33:35 +0000 |
| Subject: | note 7803 added to print | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1925@lists.php.net to get a copy of this message | ||
Is there any way to get 'print' to print function return values inside a string without
setting a variable first?
Long way:
$lastname = last_name($fullname);
print "Lastname: $lastname";
Short way:
print "Lastname: last_name($fullname)";
http://www.php.net/manual/function.print.php