MovieLib - Your movie database on web
How many records have your database? I test it only on 1000 records.

Thanks for help.

edit:
Your preg match pattern search include only a-Z characters without blank chars (space).
A better solution will be delete this condition. It only check entries in panels is not empty.
Code will be:
Code:
if (strpos($value, ' / ') !== false) {
    foreach (explode(' / ', $value) as $val) {
        if (!in_array($val, $panels_array[$column])) {
            $panels_array[$column][] = $val;
        }
    }
} else {
    if (!in_array($value, $panels_array[$column])) {
        $panels_array[$column][] = $value;
    }
}
Reply
 
Thread Rating:
  • 8 Vote(s) - 4.63 Average


Messages In This Thread
RE: MovieLib - Your movie database on web - by Regss - 2014-10-06, 08: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