Fatal error: Function name must be a string in E:\usr\main\sql\gallery.php on line 15
Taki mam błąd przy wywoływaniu funkcji i_makesmall($fname);
Oto urywek kodu z użytą funkcją:
<?php require("convert.php"); $img_showed = 0; $img_cur = 0; if ($_GET['str']) $img_start = $_GET['str'] * 6; else $img_start = 1; while ($img_showed < 6 && $file = $img -> read()) { $fname = $file_pi['basename']; if ($fname == ".." || $fname == "." || $fname == "") continue; $img_cur++; if ($img_cur >= $img_start) { if (!$exists("img/small/$fname")) { i_makesmall($fname); } ?>
Funkcja jest stworzona w pliku "convert.php".
Co jest nie tak?