Νέα Αρχικής
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 'where herm02.p300=1 and herm02.sdat<=curdate() and herm02.edat>=curdate() and he' at line 1
Whole query: select sum(1) / 20 as pages from herm02 where herm02.p300=1 and herm02.sdat<=curdate() and herm02.edat>=curdate() and herm02.p02!='' where herm02.p300=1 and herm02.sdat<=curdate() and herm02.edat>=curdate() and herm02.p02!='' and herm02.p00=3000001 and herm02.p00=3000001;
Array ( [file] => /home/sbsaigaion/public_html/pegasus/kernel00/functions.php [line] => 1485 [function] => pegasus_mysql_use [args] => Array ( [0] => select sum(1) / 20 as pages from herm02 where herm02.p300=1 and herm02.sdat<=curdate() and herm02.edat>=curdate() and herm02.p02!='' where herm02.p300=1 and herm02.sdat<=curdate() and herm02.edat>=curdate() and herm02.p02!='' and herm02.p00=3000001 and herm02.p00=3000001; [1] => ) ) Array ( [file] => /home/sbsaigaion/public_html/pegasus/h007_sme/faq001.php [line] => 127 [function] => countpages [args] => Array ( [0] => herm02 where herm02.p300=1 and herm02.sdat<=curdate() and herm02.edat>=curdate() and herm02.p02!='' where herm02.p300=1 and herm02.sdat<=curdate() and herm02.edat>=curdate() and herm02.p02!='' and herm02.p00=3000001 and herm02.p00=3000001 [1] => /pegasus/h007/faq00.php?p00=3000001&find=&stdt=&endt=&p02=&p30=&pcode=H901_OM3000001 [2] => 20 ) ) Array ( [file] => /home/sbsaigaion/public_html/pegasus/templates/template_060.php [line] => 248 [args] => Array ( [0] => /home/sbsaigaion/public_html/pegasus/h007_sme/faq001.php ) [function] => require_once )