This is my code: $data = Users::find(array( 'username = :username: and password = :password:', 'bind' => $post ));
I want just after the SQL;
I know print_r ($data) can see SQL but that is not resolved, could you tell me is there a better way?
This is my code: $data = Users::find(array( 'username = :username: and password = :password:', 'bind' => $post ));
I want just after the SQL;
I know print_r ($data) can see SQL but that is not resolved, could you tell me is there a better way?