Re: simple question
| From: | Yanick Bourbeau | Date: | Tue, 26 Jun 2001 20:41:32 +0000 |
| Subject: | Re: simple question | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1975@lists.php.net to get a copy of this message | ||
when you create functions, you need to return the result to keep tracks of
what you doing.
function plus($i)
{
$i++;
return $i;
}
after, you can use that like:
print (plus(plus(50));
for example..
Yanick Bourbeau
Edison Communication Inc.
ybo@lesoleil.com