print preg_place unexpected error
<p>I have the following code:</p>

<pre><code>print "&lt;a href='".preg_replace($replace, '-', $name."-pid-".$id.".html'&gt;";
</code></pre>

<p>and receive the following error:</p>

<pre><code>Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\s.php on line 98
</code></pre>
