• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • Last Modified:

having a problem with preg_match_all

o.k i give this command a text to handle and search for the message and i have many text in a loop, so sometimes this function just stops and all the php stops and i get that my page is finish loading but i still have alout more text to handdle and if i give it the last text that it handled i get the same thing agean

please help
preg_match_all('%<!-- message -->((?:.|\s)*?)<!-- / message -->{5}%i',  $page, $inside1, PREG_SET_ORDER);

Open in new window

1 Solution
Ray PaseurCommented:
Show us some sample input and the desired output, please.  Thanks, ~Ray

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now