For some reason I am having a complete brain FFFFFFF
I am doing the following:
preg_match_all("/<p>(.*?)<\/p>/is", $results[1], $city_results);
this is returning about 30 instances of anything between <p></p>
I want to loop through the array that I am capturing only display the first 4 or 5 <p></p>
for ($i = 0; $i < 4; $i++){
THIS IS WHERE I AM HAVING THE BRAIN FFFFFFF
}
can someone help me out!!! I AM SO SORRY