error_log ?
what about $result