Re: Help with functions()

From: Date: Wed, 20 Nov 2002 10:23:38 +0000
Subject: Re: Help with functions()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-125210@lists.php.net to get a copy of this message
Beauford 2002 wrote:
Hi, I have form that a user would input information and that info is sent to a function, but I need to be able to return a result of this function and is where I am having a problem. For example: testfunction($var1, $var2, $var3, $var4); //the form fills these values. echo $meat; function testfunction($a, $b, $c, $d) { The $meat of the function goes here; Now I need to return the result of $meat; return $meat; } $return_value = testfunction (....
echo $return_value; HTH Chris


« previous php.general (#125210) next »