$name = array_shift($name);
return $name;
}
$html = str_get_html($product_info['products_description']);
$img_found = $html->find('img');
foreach ($img_found as &$img) {
if ($img->alt == "" || !$img->alt) {
$img->alt = get_name_by_src($img->src);
}
}
Error
|
---|
Error: Call to a member function find() on bool at /home/sintek/web/9000.com.ua/public_html/product_info.php:173 |