Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/52/114451/webspace/httpdocs/support.marineapps.net/wp-content/plugins/customify/class-pixcustomify.php on line 1557

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/52/114451/webspace/httpdocs/support.marineapps.net/wp-content/plugins/customify/class-pixcustomify.php on line 1593
How Do I Contact the Legal Dept? - Support Marine Applications

How Do I Contact the Legal Dept?

How Do I Contact the Legal Dept?

I have fname and lname in my database, and a name could be stored as JOHN DOE or john DOE or JoHN dOE, but ultimately I want to display it as John Doe

fname being John and lname being Doe

1 ANSWERS

16th February 2017 at 10:25 am Andy M.

seeing it is tagged PHP:
either

string ucfirst  ( string $str  );

to uppercase first letter of the first word

or

string ucwords  ( string $str  );

to uppercase the first letter of every word

you might want to use those in combination with

string strtolower  ( string $str  );

to normalize all names to lower case first.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.