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

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]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° 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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация