<div>Hi </div>
<div>I have a below string.</div>
<div><strong>PHP, HTML, SQL</strong></div>
<div>Want to convert it to</div>
<div><strong>&#39;PHP&#39;, &#39;HTML&#39;, &#39;SQL&#39;</strong></div>
<div> </div>
<div>I tried to write a function to do it as below. If I print the function output it prints properly.</div>
<div>If same function output I use for SQL query as below I get warning.</div>
<div> </div>
<div>Query:    SELECT skillid FROM {resubmt_skills}   WHERE resubmt_skills.skillname IN (%s)&quot;, $fSkill</div>
<div><font color="#ff0000">Warning:   SELECT skillid FROM resubmt_skills WHERE resubmt_skills.skillname IN (\&#39;ITI\&#39;,\&#39; PHP\&#39;))) in C:\MyWeb6.20\wamp\www\livejobs1\sites\default\modules\resume_search\resume_search.module on line 140.</font></div>

<div><font color="#ff0000"></font> </div>
<div>Looks it has extra forward slashes. How can I overcome this.</div>
<div> </div>
<div>Thanks</div>
<div>Austin</div>
<div> </div>
<div> </div>
<div> </div>