Page is a not externally linkable
jd01 - 11:42 am on Oct 3, 2009 (gmt 0)
for($i = 0; $sqlarray[$i] = mysql_fetch_assoc($result); $i++) { I'm not sure about your need to match case or not, so you could theoretically use == or strpos if you know the case will be the same. The above should work or be close.
There's a number of different ways, but you could probably do something like this fairly efficiently: (Assuming your top array is $needle.)
for($ii=0; $ii<count($needle); $ii++) {
if(stripos($sqlarray[$i][tag_text],$needle[$ii])) {
echo "found"; break;
}
}
}