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! Quote Link to comment 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] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.