| 
	
 | 
 Posted by Sandrine on 10/03/06 11:08 
"Sandrine" <fab.abc@free.fr> a ιcrit dans le message de news:  
452228b0$0$317$426a74cc@news.free.fr... 
> 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 
> 
> 
 
OK I've got the answer. 
 
Sandra
 
  
Navigation:
[Reply to this message] 
 |