Announcement

Collapse
No announcement yet.

MySql not working in error function

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MySql not working in error function

    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

  • #2
    try connecting to the database within the function
    NXSupport Admin

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X