Redux Posted March 6, 2006 Share Posted March 6, 2006 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! Link to comment https://forums.phpfreaks.com/topic/4189-mysql-question/ Share on other sites More sharing options...
Barand Posted March 6, 2006 Share Posted March 6, 2006 try[code]list($fname,$lname $mname) = explode (' ', $row['name']);[/code] Link to comment https://forums.phpfreaks.com/topic/4189-mysql-question/#findComment-14573 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.