Hello Friends,
I am having php services which is having lots of queries and lots of conditions. I want to track errors using some error tracking mechanism. What is the best way of tracking error in php?

For example if there is error in 100th query then it will give me exact location where this error comes from.

Please help me. Thanks in advance.

    Have a look at installing XDebug in development.

    Have a look at using [man]set_error_handler[/man] to write your own error handler. See also the [man]debug_backtrace[/man] and other functions in that section.

      Write a Reply...