Could you use “count” ?
$cars=array("Ford","Chevy","BMW");
echo count($cars);
The above would give a count of “3”
So in your code, count the number in the query array and IF greater than “X” then return the query.
Could you use “count” ?
$cars=array("Ford","Chevy","BMW");
echo count($cars);
The above would give a count of “3”
So in your code, count the number in the query array and IF greater than “X” then return the query.