Hi all,


When i type http://localhost/syslog/index.php in my browser the following errors comes up

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/htdocs/web/index.php on line 35=20
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/htdocs/web/index.php on line 53=20

All logs from syslog-ng are logged to mysql (database syslog and table logs)

I have defined in db_fns.php

$result =3D mysql_pconnect("", "", "");
becauz i have made a user mysql with no password and when i write mysql on shell in connects directly.

Your help in this regard would highly be appreciated


Thanks