|
Re: PHP Question
I'm not sure exactly how your code was intended to work, but it appears that you check each line of news.tct for "|" which are used to divide that line into two parts ($pieces[0] and [1]) that are then just outputted concatenatedly so the output is just the text without the pipes. I think maybe you intended "|" to seperate different entires but you didn't realize that file() reads each line into a new element in the array.
__________________
Learn, edit, inspire: The FIRSTwiki.
Team 1257
2005 NYC Regional - 2nd seed, Xerox Creativity Award, Autodesk Visualization Award
2005 Chesapeake Regional - Engineering Inspiration Award
2004 Chesapeake Regional - Rookie Inspiration award
2004 NJ Regional - Team Spirit Award
|