Oops, try again. It looks like nothing was printed! Did you remember to call your function? (Check the Hint if you need help.)


#1

<?php
function greetings($name){

  $name= "Paul";    

 echo "Greetings," . $name ."!"

greetings($name);
  }   
  ?>

#2

@decode007,
Try it with

<?php
  $name= "Paul";    

  function greetings($name){
       echo "Greetings," . $name ."!"
  }
   
  greetings($name);
  ?>

#3

Thanks Leonhard appreciate the help and advice.