Hello Everybody,
My previous discussion is about php function with no argument.My present discussion will be highlighted about the function that uses argumwnt
when we call a function like Function newFunction(), we can write any agrgument in this area().
Now we will set a viriable as argument and later assaign a value of it
like
Function newFunction($a)
now I will assaign a statement
Function newFunction($a){
echo "{$a} Everybody";
}
Finally I will assaign a value of the argument $a
Function newFunction($a){
echo "{$a} Everybody"
}
newFunction("Hello")
// here "Hello" is the value of $a and the output will be Hello Everybody
My next discussion will be about multi argument of function
Thanks for watching
shuvo