What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP parsing certain lines of a text file

PHP parsing certain lines of a text file
Author: Message:
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
O.P. PHP parsing certain lines of a text file
Hey there,

I was wondering if any of you knows how to parse a text file similar to this:

quote:
"Advertisements"
{
    "1"
    {
        "type"        "S"
        "text"        "Ad1"
    }
    "2"
    {
        "type"        "S"
        "text"        "Ad2"
    }
    "3"
    {
        "type"        "S"
        "text"        "Ad3"
    }
}

But only parse the ad number and the section after the word "text". For example, in the above document, it would parse:
quote:
1) Ad1
2) Ad2
3) Ad3

Thanks
11-22-2009 07:13 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
PHP parsing certain lines of a text file - by Jimbo on 11-22-2009 at 07:13 PM
RE: PHP parsing certain lines of a text file - by John Anderton on 11-22-2009 at 07:22 PM
RE: PHP parsing certain lines of a text file - by prashker on 11-22-2009 at 07:59 PM
RE: PHP parsing certain lines of a text file - by Jimbo on 11-23-2009 at 12:07 AM
RE: PHP parsing certain lines of a text file - by NanaFreak on 11-23-2009 at 12:36 AM
RE: PHP parsing certain lines of a text file - by Jimbo on 11-23-2009 at 11:45 PM
RE: PHP parsing certain lines of a text file - by NanaFreak on 11-24-2009 at 12:32 AM
RE: PHP parsing certain lines of a text file - by Jimbo on 11-24-2009 at 08:03 AM
RE: PHP parsing certain lines of a text file - by NanaFreak on 11-24-2009 at 08:40 AM
RE: PHP parsing certain lines of a text file - by WDZ on 11-24-2009 at 09:05 AM
RE: PHP parsing certain lines of a text file - by Jimbo on 11-24-2009 at 03:22 PM
RE: PHP parsing certain lines of a text file - by NanaFreak on 11-25-2009 at 12:38 AM
RE: RE: PHP parsing certain lines of a text file - by Jimbo on 11-25-2009 at 07:57 AM
RE: PHP parsing certain lines of a text file - by John Anderton on 11-25-2009 at 06:29 AM
RE: PHP parsing certain lines of a text file - by NanaFreak on 11-25-2009 at 09:24 AM
RE: PHP parsing certain lines of a text file - by segosa on 12-14-2009 at 11:15 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On