Parameters and arguments


i don't understand why it doesn't want to print out my name. i can't find the mistake in this code .


function greetings($name){
echo "greetings, " . $name . "!" ;




Hi this line


should be outside the function greeting since it's the call function

function greeting($name) {
   #here goes your code
#call the function here


yes thank you i went on to the next excercise and i figured it out there finally!!! but thank you soo much,, i was stuck on this for 25 minutes :S :wink: now i understand it completely . :smiley: