help: cannot redeclare function
Posted: Wed Nov 03, 2004 5:47 pm
hello.
i'm using php + odbc to retrive data from a bd, i have made a function called "my_odbc_fetch_array()" that works similar as mysql_fetch_array(), this function is in a .inc file.
the problem is that i keep getting "Cannot redeclare my_odbc_fetch_array() (previously declared in conf.inc) in every script that i include conf.inc.
i'm really frustated with this, even more when everything works well at home(i have xampp installed) and when i install the scripts at other place they doesn't work(i get this errors).
thanks
i'm using php + odbc to retrive data from a bd, i have made a function called "my_odbc_fetch_array()" that works similar as mysql_fetch_array(), this function is in a .inc file.
the problem is that i keep getting "Cannot redeclare my_odbc_fetch_array() (previously declared in conf.inc) in every script that i include conf.inc.
i'm really frustated with this, even more when everything works well at home(i have xampp installed) and when i install the scripts at other place they doesn't work(i get this errors).
thanks