<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1003343" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1003343</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/replacing-quotes-php3-mysql-database#comment-1014677</link>
    <description> &lt;p&gt;Thanks! AddSlash is just the function I am looking for! With so many functions PHP can get confusing... I was trying to use ereg_replace(), but it wouldn&#039;t work with double quotes.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
Visit the dLo.Network&lt;br /&gt;
 &lt;a href=&quot;http://dlo.net&quot; class=&quot;bb-url&quot;&gt;http://dlo.net&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 26 Mar 2000 03:00:00 +0000</pubDate>
 <dc:creator>Randall</dc:creator>
 <guid isPermaLink="false">comment 1014677 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/replacing-quotes-php3-mysql-database#comment-1014676</link>
    <description> &lt;p&gt;Randall,&lt;/p&gt;
&lt;p&gt;You have two options:&lt;/p&gt;
&lt;p&gt;1) Use the htmlspecialchars() function... This changes special characters like the &#039; and the &quot; to their HTML counter part. Reference  &lt;a href=&quot;http://www.php.net/manual/function.htmlspecialchars.php&quot; class=&quot;bb-url&quot;&gt;http://www.php.net/manual/function.htmlspecialchars.php&lt;/a&gt;  for more information on this function.&lt;/p&gt;
&lt;p&gt;2) Use the addslashes() function. Add slashes basically escapes special characters, like the &quot; and the &#039; ... Both can cause problems with mySQL... This is the one that I use. I use it because it doesn&#039;t convert any code and give you the ugly &amp;amp;#...; looking things. Reference  &lt;a href=&quot;http://www.php.net/manual/function.addslashes.php&quot; class=&quot;bb-url&quot;&gt;http://www.php.net/manual/function.addslashes.php&lt;/a&gt;  for more information on this function.&lt;/p&gt;
&lt;p&gt;Hope that helps.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
TWF Administrator&lt;/p&gt;
&lt;p&gt;Looking for Web Hosting Services?&lt;br /&gt;
&lt;strong&gt;Dynamic Internet Solutions :  &lt;a href=&quot;http://www.dids.com&quot; class=&quot;bb-url&quot;&gt;http://www.dids.com&lt;/a&gt;&lt;br /&gt;
Windows NT and UNIX Hosting ($9.95 - $399.95), Dedicated Servers, and Co-Location Programs&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;[This message has been edited by Chad Simper (edited 25 March 2000).]&lt;/p&gt;
 </description>
     <pubDate>Sat, 25 Mar 2000 06:00:00 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">comment 1014676 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
