function function_name($input, $inputtwo) {
// stuff goes in here.
}
and then call it with:
function_name($input, $inputtwo);
----- Original Message -----
From: "Bruno Freire" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 25, 2001 10:39 AM
Subject: [PHP] How do I to declare a function or procedure in PHP???
> Please ,
> I don't know how to declare a function....how is the scope??
>
> In C++ is for example...
>
> Void test(int a, int b)
> {
> .....
>
> }
>
> But...
>
> In php???? HOW DO I DECLARE A FUNCTION OR PROCEDURE????
>
> Bruno....Brazil
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]