Tuesday, December 28, 2021

Track from where method is being called in codeigniter


For example, suppose your function name is test, use below code
Code:

function test( )
{
$backtrace = debug_backtrace();

print_r( $backtrace );
}
It will print the details from where the test method is being called.

No comments:

Post a Comment

Reset WordPress Admin Password via MySQL Command Line

mysql -umyUserName -paVeryStrongPassword show databases;   use myWordpressDB; SELECT ID, user_login, user_pass FROM wp_users; UPDATE wp_user...