title: php creating extra space in html page
body: <p>I'm new to web development and I'm really stuck with this silly problem. When I insert php code before html code, something like this: <code>&lt;?php ...some code... ?&gt;&lt;!doctype html&gt;&lt;html&gt;...</code> it creates extra blank space on top of my page and 'pushes' whole content down. Is it possible to somehow avoid creating that extra space? It also makes extra space if the php code is in body part of html, for example if it's in between two paragraphs it will create extra space between that two paragraphs.
  Thanks for your answers!</p>