You are here: get product names lost in a txt file « All PHP « IT news, forums, messages
get product names lost in a txt file

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация