Browsers do not find or process PHP. PHP is found and processed by the server before it hits your browser.
The reason why you may not see anything where you placed the PHP is that it is unable to locate "pulsepro/includes/gallery2.php" or that included PHP file is simply rendering nothing.
What happens when you call "pulsepro/includes/gallery2.php" directly in your browser? Does it display anything?