Jump to content

Archived

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

Redux

MySQL question

Recommended Posts

Hi to all,
I know this is not the proper category to post my problem since it is mysql related.. I have a name field in my database (eg. John Smith L.) what i want to happen is to split this into three fields (fname,lname mname) mname stands for middle name.. Help me please.

Thanks in advance!

Share this post


Link to post
Share on other sites
try

[code]list($fname,$lname $mname) = explode (' ', $row['name']);[/code]

Share this post


Link to post
Share on other sites

×

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.