How to allow all special characters in a textbox
<p>Hello I want to allow the following special characters in the html text box.</p>

<p>~!@#$%^&amp;*()_+} {:"?>&lt;,./;'[]`</p>

<p>But when I refresh the page, the textbox that is containing all above special characters, is distorted and some characters get out from the text box because of single or double quoates.
 for example</p>

<pre><code> $spl = '~!@#$%^&amp;*()_+} {:"?&gt;&lt;,./;'[]\`';

 &lt;input type="text" value="&lt;?php echo $spl;?&gt;"/&gt;
</code></pre>

<p>the variable $spl came from database. Now when the page loads in browser, some characters of above string are shown out of the text box.</p>

<p>Can anybody help.</p>
