Re: General Function usage question (simple)

From: Date: Sat, 14 Feb 2004 13:52:56 +0000
Subject: Re: General Function usage question (simple)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177701@lists.php.net to get a copy of this message
Hello Dave, You'll find all this information and much more in the PHP manual ( http://www.php.net/docs.php ). Look for the chapter on functions. Have fun, Erik On 14 Feb 2004 at 7:31, Dave Carrera wrote: > Hi List, > > Here is an easy one for you :-) > > --- Example1 Function --- > > Function MyTestFunction(){ > // do something here > } > > --- Example2 Function --- > > Function MyTestFunction($var1,$var2){ > // do something here > } > > My question is what do or where do or why are the $var1 and or $var2 > included inside the brackets of a function. > > What do they do ? > > Why are they in there ? > > And how are they used within an application ? > > I am very sorry for the basic question but I am new to the world of > functions. > > Thank you in advance for any explanations, help or explanatory urls that you > may impart. > > Dave C

« previous php.general (#177701) next »