Hi,
I am using my own error loggin function. A longtime before the function is reached, I connect to the MySql server and set a variable for the database to be used. One line before the function, all is OK, hovever one line into the function, I can't connect to MySql. The variable and its value are listed when using print_r(get_defined_vars()) , however when I echo the variable it returns nothing. Even if I redefine the variable, the result variables of any queries are not valid result resources and any variables of mysql_result() are undefined. MySql is not returning any errors. Can anyone provide any help?
Thanks
Benoni
I am using my own error loggin function. A longtime before the function is reached, I connect to the MySql server and set a variable for the database to be used. One line before the function, all is OK, hovever one line into the function, I can't connect to MySql. The variable and its value are listed when using print_r(get_defined_vars()) , however when I echo the variable it returns nothing. Even if I redefine the variable, the result variables of any queries are not valid result resources and any variables of mysql_result() are undefined. MySql is not returning any errors. Can anyone provide any help?
Thanks
Benoni
Comment