Share this post

Link to post

Share on other sites

return $file will do it Read the manual on functions [a href=\"http://www.phpfreaks.com/phpmanual/page/language.functions.html\" target=\"_blank\"]http://www.phpfreaks.com/phpmanual/page/la....functions.html[/a]

Share this post

Link to post

Share on other sites

from (http://www.w3schools.com/php/php_functions.asp)[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]PHP Function Return valueFunctions can not only write information to the output, they can also return values.