|
Posted by Sandrine on 10/03/06 09:10
Hello,
I have several text files 1.txt, 2.txt, 3.txt, etc. with a lot of html text
in them, and I need to extract product names which are located in between
the following signs :
s(' PRODUCT_NAME (without space around it) ')">
ex :
s('3_apples')">
the string s(' can be found only in front of a product name, whereas the
string ')"> is also present in other places in the text file.
I would like to scan the text files and get all the product names in a
variable $product[].
Could you help me, I am not that good at php yet !
Thanks a lot !
Sandra
Navigation:
[Reply to this message]
|