RE: [PHP] Variables inside a function
| From: | Jay Blanchard | Date: | Mon, 08 Mar 2004 17:42:51 +0000 |
| Subject: | RE: [PHP] Variables inside a function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-179800@lists.php.net to get a copy of this message | ||
[snip]
eg. function blah ($bl,$ah) {
$bl++;
$ah++;
$blah=$bl+$ah;
}
[/snip]
function blah ($bl,$ah) {
$bl++;
$ah++;
$blah=$bl+$ah;
return $blah;
}