A mayor in the Philippines has survived a rocket launcher attack on his vehicle in broad daylight.