Hi,
I have connection to mysql via Adodb like this:
include("adodb/adodb.inc.php");
ADOLoadCode('mysql');
$db = NewADOConnection();
I change in adodb.inc.php file (i follow instructions):
$ADODB_DIR = 'adodb';
It`s work on one server but i move site to other server and i get a error when i start my script :
Warning: GLOBAL variable decleration meaningless in main() scope in adodb/adodb.inc.php on line 22
Parse error: parse error, expecting `STRING' in adodb/adodb.inc.php on line 239
What is the problem?
I need a urgent help to fix this problem.
Thanks,
Asen
P.S.
sorry for my english 🙂