$(window).bind('load', function() { $('img').each(function() { if((typeof this.naturalWidth != "undefined" && this.naturalWidth == 0 ) || this.readyState == 'uninitialized' ) { $(this).attr('src', 'missing.jpg'); } }); })
Источник: http://www.developria.com/2009/03/jquery-quickie---broken-images.html
Не можете ли вы использовать $conn->query()
?
$conn->query("SET group_concat_max_len = 2048");