Results 1 to 2 of 2

Thread: Parsing data

  1. #1
    Join Date
    Jan 2009

    Unanswered: Parsing data

    I have a number of names & email addresses being entered in one field in a form. I want to create a separate record for each set. Is there a way in SQL to do this or does this need to happen on PHP?

    e.g. "Jxxx Jxxxx" <>, "Nyyy Jyyyy" <>, "Nzzz Jzzz" <>, "Wwww Awww" <>

    into a table like:

    id |name | email
    1 |Jxxx Jxxxx |<>
    2 |Nyyy Jyyyy|<>


  2. #2
    Join Date
    Apr 2002
    Toronto, Canada
    much easier if you do it with php -- the sql solution is quite messy | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts