MovieLib - Your movie database on web
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:
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... Big Grin
Thread Rating:
  • 8 Vote(s) - 4.63 Average

Messages In This Thread
RE: MovieLib - Your movie database on web - by azsenca - 2014-10-04, 22:54
Last Post - by Jeffreywat - 2017-09-03, 14:02

Logout Mark Read Team Forum Stats Members Help
MovieLib - Your movie database on web4.638