PDA

View Full Version : how to use as a function


caballonegro
08-29-2002, 04:54 PM
Hello Papa,

in your main page you descript that is much faster to use escalenda as a function.
But i dont find any description or example for this faster way in your thit and also not in this forum.

Could you please tell me how to do this?

I try this form but it not able to read the parameter
from the configfile


echo escalendarf($useuc[0],$usemo[0],$useyr[0],$allstar ts,$allends);


my function head is this


function escalendarf($uc,$mo,$yr,$es,$ee)

...



thanks
caballo

Brian
10-25-2002, 07:22 PM
Your code looks good but you should remove the echo command and leave the rest of the line.

General information about functions can be found at http://www.php.net/manual/en/functions.php.