Answer the question
In order to leave comments, you need to log in
API costs a limit, how to get rid of it?
The API has a limit for outputting values, if I set the limit to 999999 then just a white screen, if not more than 1000 this happens, there are no errors. I also remove the white screen from the limit code and there are no errors either. I can't figure out what could be the problem.
Here are the parts of the code:
$videosdb = BiQuery1("*", "dle_site", array(array("news", 0, ">")), "news", "DESC", "{$news_limit}");
function BiQuery1($sel, $table, $where = "", $order = "", $order1 = "", $limit = "")
{
$query = "SELECT " . $sel . " FROM `" . $table . "` " . BiQueryWhere($where);
if ($order !== "") {
$query = $query . " ORDER by " . $order . " " . $order1 . " ";
}
if ($limit !== "") {
$query = $query . " LIMIT " . $limit . " ";
}
$query = $query . " ;";
return BiQuery($query);
}
Answer the question
In order to leave comments, you need to log in
See logs
This is not a white screen. This is an error while executing the script
you do not have enough memory to load such an array of data)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question