View Single Post
Old 07-20-2009, 07:12 AM   #13 (permalink)
codefreek
Super Moderator
Inquisitive 
 
codefreek's Avatar
 
Join Date: Sep 2007
Location: Near you.
Posts: 791
Thanks: 241
codefreek is on a distinguished road
Default

A:

PHP Code:
function my_function($var1,$var2,$var3){
// Place to enter code here.
$var=$var1+$var2+$var3;
return 
$var;
}
$my_val=my_function(5,6,8);
echo 
"The return value= $my_val";
// The above line will print the sum of the three variables. 
Q: Can anything be stored in a cookie ?
codefreek is offline  
Reply With Quote