Why code stops working after this function?
<p>I have some other functions and a html page call after this simple function, but they dont run after this. </p>

<pre><code>function page($name){
  $content =&lt;&lt;&lt;eol
&lt;?php
PAGE CONTENT
?&gt;
 eol;
$file = "./search/$name.php";
$open = fopen($file, "w");
fwrite($open, $content);
fclose($open);
    }
</code></pre>

<p>function works itself, but causes exiting code.</p>
