<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: MySQL&#8217;s REPLACE() Is PHP&#8217;s&#160;STR_REPLACE()</title> <atom:link href="http://davidwalsh.name/mysqls-replace-phps-strreplace/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/mysqls-replace-phps-strreplace</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 14:01:31 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: split</title><link>http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-31479</link> <dc:creator>split</dc:creator> <pubDate>Sun, 08 Apr 2012 18:30:48 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-31479</guid> <description>@DJIEXTRAY
I think it just an example.@davidwalsh
Great tutorial! thx!</description> <content:encoded><![CDATA[<p>@DJIEXTRAY<br
/> I think it just an example.</p><p>@davidwalsh<br
/> Great tutorial! thx!</p> ]]></content:encoded> </item> <item><title>By: Djiextray</title><link>http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-31280</link> <dc:creator>Djiextray</dc:creator> <pubDate>Tue, 27 Mar 2012 15:07:36 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-31280</guid> <description>why if replace 2?
REPLACE(content,’b&gt;’,&#039;strong&gt;’);
and REPLACE(content,’i&gt;’,&#039;b&gt;’);in one code.</description> <content:encoded><![CDATA[<p>why if replace 2?<br
/> REPLACE(content,’b&gt;’,&#8217;strong&gt;’);<br
/> and REPLACE(content,’i&gt;’,&#8217;b&gt;’);</p><p>in one code.</p> ]]></content:encoded> </item> <item><title>By: jayendra</title><link>http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-31138</link> <dc:creator>jayendra</dc:creator> <pubDate>Tue, 20 Mar 2012 07:43:31 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-31138</guid> <description>Yes. Sometime, replace is a very good solution.First we need to understand that we need to replace the value in database or we need to replace the value in front end only.If we need to replace the value in database, then we have to use replace command of mysql. But if we want to replace the value for front end only, then we can use only str_replace of php (if we are using php script).</description> <content:encoded><![CDATA[<p>Yes. Sometime, replace is a very good solution.</p><p>First we need to understand that we need to replace the value in database or we need to replace the value in front end only.</p><p>If we need to replace the value in database, then we have to use replace command of mysql. But if we want to replace the value for front end only, then we can use only str_replace of php (if we are using php script).</p> ]]></content:encoded> </item> <item><title>By: Roy</title><link>http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-31070</link> <dc:creator>Roy</dc:creator> <pubDate>Sat, 17 Mar 2012 14:23:10 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-31070</guid> <description>I have been using this for a while but I cannot get the syntax right with the WHERE includedUPDATE [tbl]
SET [field1] = REPLACE(field1, &#039;foo&#039; , &#039;foo2&#039; )
WHERE ( field2  like  &#039;foo3&#039;)</description> <content:encoded><![CDATA[<p>I have been using this for a while but I cannot get the syntax right with the WHERE included</p><p>UPDATE [tbl]<br
/> SET [field1] = REPLACE(field1, &#8216;foo&#8217; , &#8216;foo2&#8242; )<br
/> WHERE ( field2  like  &#8216;foo3&#8242;)</p> ]]></content:encoded> </item> <item><title>By: coder</title><link>http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-27430</link> <dc:creator>coder</dc:creator> <pubDate>Thu, 03 Nov 2011 08:51:48 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-27430</guid> <description>Amazing how much people don&#039;t know about MySQL built in functions.</description> <content:encoded><![CDATA[<p>Amazing how much people don&#8217;t know about MySQL built in functions.</p> ]]></content:encoded> </item> <item><title>By: none</title><link>http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-26557</link> <dc:creator>none</dc:creator> <pubDate>Tue, 16 Aug 2011 08:07:05 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-26557</guid> <description>Anyone who stores their presentation code in a database without differentiating the tags from the text using HTMLENTITIES() deserves to have this happen.You, sir, deserve what you get.</description> <content:encoded><![CDATA[<p>Anyone who stores their presentation code in a database without differentiating the tags from the text using HTMLENTITIES() deserves to have this happen.</p><p>You, sir, deserve what you get.</p> ]]></content:encoded> </item> <item><title>By: Nathan</title><link>http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-21172</link> <dc:creator>Nathan</dc:creator> <pubDate>Mon, 01 Nov 2010 17:12:22 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-21172</guid> <description>The PHP function htmlentities() will make the &gt; into a html entity that your browser wont parse into an element.</description> <content:encoded><![CDATA[<p>The PHP function htmlentities() will make the &gt; into a html entity that your browser wont parse into an element.</p> ]]></content:encoded> </item> <item><title>By: Ain</title><link>http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-15630</link> <dc:creator>Ain</dc:creator> <pubDate>Tue, 26 Jan 2010 18:54:50 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-15630</guid> <description>@Tom: that&#039;s a somewhat controversial statement. See the benchmark at http://net-beta.net/ubench/</description> <content:encoded><![CDATA[<p>@Tom: that&#8217;s a somewhat controversial statement. See the benchmark at <a
href="http://net-beta.net/ubench/" rel="nofollow">http://net-beta.net/ubench/</a></p> ]]></content:encoded> </item> <item><title>By: mauladi</title><link>http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-15529</link> <dc:creator>mauladi</dc:creator> <pubDate>Sat, 23 Jan 2010 04:06:13 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-15529</guid> <description>thanks David, for REPLACE(content,&#039;b&gt;&#039;,&#039;strong&gt;&#039;);</description> <content:encoded><![CDATA[<p>thanks David, for REPLACE(content,&#8217;b&gt;&#8217;,'strong&gt;&#8217;);</p> ]]></content:encoded> </item> <item><title>By: Garrett Griffin</title><link>http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-12546</link> <dc:creator>Garrett Griffin</dc:creator> <pubDate>Thu, 08 Oct 2009 14:38:01 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/mysqls-replace-phps-strreplace#comment-12546</guid> <description>Thanks, exactly what I was looking for. I love blogs that help answer really simple questions with really simple answers.</description> <content:encoded><![CDATA[<p>Thanks, exactly what I was looking for. I love blogs that help answer really simple questions with really simple answers.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/7 queries in 0.009 seconds using disk: basic
Object Caching 804/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 11:06:41 -->
