krsmoorthi 12:05:11 | <?php $test = '25'; // integer value result(); function result() { echo $test; //echo or return return $result; } How can we pass the test variable value to result function without using any parameter? |
smo1234 12-06-2011 | Returning value from a function is explained here |