Warning: Packets out of order. Expected 1 received 52. Packet size=3159089 in /usr/home/krizek/public_html/AHAstore/includes/functions/database.php on line 44

Warning: mysql_query() [function.mysql-query]: MySQL server has gone away in /usr/home/krizek/public_html/AHAstore/includes/functions/database.php on line 44

Warning: mysql_query() [function.mysql-query]: Error reading result set's header in /usr/home/krizek/public_html/AHAstore/includes/functions/database.php on line 44
2006 - MySQL server has gone away

select b.banners_id, b.expires_date, b.expires_impressions, sum(bh.banners_shown) as banners_shown from banners b, banners_history bh where b.status = '1' and b.banners_id = bh.banners_id group by b.banners_id

[TEP STOP]

2006 - MySQL server has gone away

select count(*) as total from sessions where sesskey = '4a9e8d211134914b451784fec1baee46'

[TEP STOP]