Jump to content

jacob1986

Members
  • Posts

    37
  • Joined

  • Last visited

Community Answers

  1. jacob1986's post in getName() was marked as the answer   
    <?php

    function getName($Christianname, $Surname, $middlename = "") {

        return ucwords($Surname . ", " . $Christianname . " " . $middlename) ;
    }
    echo  getName('john', 'smith', 'k.');

    ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.