novice question
| From: | me us | Date: | Wed, 27 Feb 2002 21:23:06 +0000 |
| Subject: | novice question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-86565@lists.php.net to get a copy of this message | ||
Hi
Id reeeeeeaaaaaaaally like to know the syntax for returning results from a called function to the program that called it;)
<?
program
add($a,$b);
echo"$ab";
?>
===============
<?
function add($a,$b)
{
$ab =$a+$b;
}
return??????????????????????????
?>
Many many thanks
JD
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com