The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Parsing a text file...
Hi,
I'm trying to code something in PHP that will parse a simple text file. The file contains two lines, looking something like this. Heading: "A quote of some sort" List: list of words What I want to do is leave the "Heading" line untouched. I want to count the words in the List line, and be able to omit certain words from appearing in the list. :edit: Also, I want to put comma's in between the words on the 2nd line. Please note, that the file does actually look like what I wrote above, Heading and List titles too. :/edit: How can I do this? I'm quite a novice at PHP, so any help is appreciated! Thanks, C |
#2
|
||||
|
||||
where do you keep the list of words? in a file (each on a new line?)? in a (mysql) database? or in the actual php file itself?
|
#3
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|