pegasus_mysql_use: 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 'as pages from herm02 where herm02.p300=1 and herm02.sdat<=curdate() and herm02' at line 1
Whole query: select sum(1) / as pages from herm02 where herm02.p300=1 and herm02.sdat<=curdate() and herm02.edat>=curdate() and herm02.p02!='' ;
Array
(
[file] => /home/vasilogiorgi/public_html/pegasus/kernel00/functions.php
[line] => 1528
[function] => pegasus_mysql_use
[args] => Array
(
[0] => select sum(1) / as pages from herm02 where herm02.p300=1 and herm02.sdat<=curdate() and herm02.edat>=curdate() and herm02.p02!='' ;
[1] =>
)
)
Array
(
[file] => /home/vasilogiorgi/public_html/pegasus/h007/faq00.php
[line] => 93
[function] => countpages
[args] => Array
(
[0] => herm02 where herm02.p300=1 and herm02.sdat<=curdate() and herm02.edat>=curdate() and herm02.p02!=''
[1] => /el/νέα/
[2] =>
[3] => 0
[4] =>
[5] => 0
[6] => H901_FAQ00
)
)
Array
(
[file] => /home/vasilogiorgi/public_html/index.php
[line] => 420
[args] => Array
(
[0] => /home/vasilogiorgi/public_html/pegasus/h007/faq00.php
)
[function] => require_once
)