Take a look at the manual...that's the best place...
But, a quick overview is this:
you can say:
function function_name($var1, $var2) {
print("var1 is: " . $var1 . "<BR>\n");
print("var2 is: " . $var2 . "<BR>\n");
}
When you run the function with:
function_name("Big", "Computer");
The output would be:
Big
Computer
You do not always need to pass in variables, however, quite often you will.
-- Jason