POST a SESSION variable on another page
<p>When I use the code provided below everything works fine unless there is an apostrophe or other html special characters in the SESSION I am trying to pass in the value. I have tried both htmlspecialchars() and htmlentities() with no success. please help.
thanks,
James</p>

<pre><code>&lt;?php
&lt;form action='ashlyBlogBig2.php' method='POST'&gt; 
    &lt;input type='hidden' name='title'   value='{$_SESSION['title']}'/&gt;
    &lt;input type='hidden' name='time' value='{$_SESSION['time']}'/&gt;
    &lt;input type='hidden' name='blog' value='{$_SESSION['blog']}'/&gt;
    &lt;input type='submit' name='to you' class='productButtons' value='Read On. . . .'&gt;
&lt;/form&gt; ";
?&gt;
</code></pre>
