php functions

Can someone please tell me the reason for the "punctuation" argument in this function please.


function writeName($fname,$punctuation)
echo $fname . " Refsnes" . $punctuation . "<br />";

echo "My name is ";
writeName("Kai Jim",".");
echo "My sister's name is ";
echo "My brother's name is ";


  • Hi

    Just ran it on Zend, cant find anything wrong, u have included you php file with that functions ?

    it works here , hope i helped

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion