Microsoft
Software
Hardware
Network
Question : Using PHP to make First Initial Last Name Combination
Using php I need to turn the format "first name last name, title" such as:
Tim Johnson, CEO
into "first inital last name combined" such as:
tjohnson
Could someone share the code with me to do this?
Thanks!
Answer : Using PHP to make First Initial Last Name Combination
It had a typo:
$combined = preg_replace('/^([a-zA-Z])
[a-zA-|]+\
([a-zA-Z]+).*$/', '\1\2', $fullname);
$combined = strtolower($combined);
Random Solutions
How to run app on local machine and display results in web page
Internet searches getting redirected to advertising websites
How can I rotate a video?
Exchange 2007 Connectivity problems
Cancel a tween in Flash CS4
ComboBox - Retrieving information from an Access table in Visual Basic
WINDOWS 2003 SP2 MEMBER SERVER TO 2003 R2
Usning the wizard control in asp.net
Exchange 2010 and /exchange error
Backup Software