php / mysql / html parsing help?

Discussion in 'OT Technology' started by trueimage, Nov 29, 2006.

  1. trueimage

    trueimage Money from dirt OT Supporter

    Joined:
    Oct 23, 2006
    Messages:
    24,790
    Likes Received:
    1
    Location:
    Calgary
    how hard would it be to parse an html file and extract some values? ie look for the exact string "ABC :" and grab everything after that up to "<br>"

    i want to have a page where a user enters a reference number ie 12345

    and then that html code is grabbed for the full url ie http://blah.com/blah?12345

    then the code is parsed as mentionned above and stored in a mysql table
     

Share This Page