Jump to content

[SOLVED] only need the first character


DrTrans

Recommended Posts

 $ownerfname 	= strtolower($row['First']); 

 

now for example $ownerfname = "john"  i only need the "j"

 

can u please help. this has got to be simple.. i tried split(); but didnt work.

 

 

then i need it to join so it makes $firstinital and $ownerlname =  $newvariable = jsmith

Link to comment
https://forums.phpfreaks.com/topic/171892-solved-only-need-the-first-character/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.