Functions, Part II


#1

This code is working locally on Xampp and, based on my comprehension of the instructions, is exactly what you're wanting.
function displayName() {
echo ("Marj");
}
displayName();

When I submit the code, it persistently asks me if I used echo or print to output the function.

I can't seem to get past your rigid assessment, and no clues are in the hint.


#2

I finally figured out how the lesson wanted it done so no answer here is requested.


#3

yes, you put parenthesis around your STRING. not necessary...echo is not a function that requires parenthesis


#4

Just put print after echo like this:

functional displayName(){

echo print (your name);
}

the latest code displayName(); is surplus