Parse html with preg_match_all
For the most of the PHP scripter which are using preg_match or preg_replace frequently is the function preg_match_all a smaller advantage, but for all others it’s maybe hard to understand. The biggest difference between preg_match_all and the regular preg_match is that all matched values are stored inside a multi-dimensional array to store an unlimited number of matches.
Views: 913 | | by Sarah
View this tutorial