2014-10-04, 22:54
Sorry to spam this, but i really want to work this out. There is a problem with strlen() becouse it is very slow on large database.
i changed this:
to this:
Now everything is working fine, except i don't get ID's on cast members, so i can't filter by actors. For me this is not so important, but would be nice if you could think of something more.
I hope i helped...
i changed this:
Quote:if (!in_array($val, $panels_array[$column]) && strlen($val) > 0) {
$panels_array[$column][] = $val;
to this:
Quote:if (!in_array($val, $panels_array[$column]) && preg_match('/^[a-zA-Z]+$/i', $val)) {
$panels_array[$column][] = $val;
Now everything is working fine, except i don't get ID's on cast members, so i can't filter by actors. For me this is not so important, but would be nice if you could think of something more.
I hope i helped...