I have a for statement that runs a few mysql querys but they wont always be the same number of querys like this:
for($i=0;$i<count($phones);$i++){
$results[$i] = mysql_query("[ACTUAL MYSQL QUERY]");
}
As you can see I put the result into an array, and I want to make sure all of the queries were successful using an if statement. How would I do that, I was thinking eval()
but that doesn't seem reliable.