select kid, bid, art, banner, hosted, hfrom, hend, cid from b_cache where pixel='468x60' and katid= and sprache='en' and land='US' and art=0 order by last
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and sprache='en' and land='US' and art=0 order by last' at line 1
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/wsa1/html/b_b.php on line 108
select kid, bid, art, banner, hosted, hfrom, hend, cid from b_cache where pixel='468x60' and katid= and sprache='en' and land='US' and art=0 order by last
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and sprache='en' and land='US' and art=0 order by last' at line 1
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/wsa1/html/b_b.php on line 113

Warning: Cannot modify header information - headers already sent by (output started at /var/www/wsa1/html/funktions.php:59) in /var/www/wsa1/html/b_b.php on line 147
update all_stat set bviews=bviews+1, verdient=verdient+ where pid=0 and kid=0 and datum=curdate() and stunde=hour(curtime()) and sprache='en' and land='US'
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where pid=0 and kid=0 and datum=curdate() and stunde=hour(curtime()) and sprache' at line 1update all_statmon set bviews=bviews+1, verdient=verdient+ where pid=0 and monat=month(curdate()) and jahr=year(curdate())
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where pid=0 and monat=month(curdate()) and jahr=year(curdate())' at line 1