Firstly, if you mention ESS EE O in a post here it will get flagged as spam.
Use 5EO instead
Secondly which is preferable is a decision for you.
If you serve the page but hide the element with
display:none it will get read and indexed by web spiders and other search engines…if you don’t serve it all, using PHP, it’s not in the source code to start with so it won’t.
Insofar as this only to be hidden on a single page and displayed on all the others, I’d go the
display:none route…simpler all round.