On Saturday 14 February 2004 15:31, Dave Carrera wrote:

> Here is an easy one for you :-)

Indeed.

> --- 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.

I think you should study thoroughly the "Language Reference" section of the 
manual and in particular the chapter "Functions".

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
He hath eaten me out of house and home.
                -- William Shakespeare, "Henry IV"
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to