<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/quotes</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 07:03:49 GMT</pubDate>
<item>
<title>(PHP) MySQL INSERT Query Generator w/ Strings - lemcoe9</title>
<link>http://snipplr.com/view/66107/mysql-insert-query-generator-w-strings/</link>
<description><![CDATA[ <p>Takes your table name and key=>value array of values and returns the text for inserting into a MySQL database. Automatically surrounds strings with single quotes.</p> ]]></description>
<pubDate>Fri, 13 Jul 2012 02:39:08 GMT</pubDate>
<guid>http://snipplr.com/view/66107/mysql-insert-query-generator-w-strings/</guid>
</item>
<item>
<title>(PHP) Replacing double quotes by smart qutotes - newsok</title>
<link>http://snipplr.com/view/42942/replacing-double-quotes-by-smart-qutotes/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 26 Oct 2010 03:42:32 GMT</pubDate>
<guid>http://snipplr.com/view/42942/replacing-double-quotes-by-smart-qutotes/</guid>
</item>
<item>
<title>(PHP) Replace MS Smart Quotes In PHP - SteveMcDaniel</title>
<link>http://snipplr.com/view/20913/replace-ms-smart-quotes-in-php/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 09 Oct 2009 18:16:31 GMT</pubDate>
<guid>http://snipplr.com/view/20913/replace-ms-smart-quotes-in-php/</guid>
</item>
<item>
<title>(PHP) Random quote's - scopefragger</title>
<link>http://snipplr.com/view/19077/random-quotes/</link>
<description><![CDATA[ <p>Sometimes it’s necessary to display a random quote or have a constantly changing image. This is quite simple in php and can be acheavedin a few lines. The code above works without the requirements of external hosts or scripts.

To set he number of quotes you wish to have in our loop simply change the second number next to $set_quote. In our example, $set_quote = rand(1,5), was used. In that wase the code can output different examples. If we wished to output 6 the could would look alike, $set_quote = rand(1,6).
For each quote the following line is required,
else if ($set_quote==5){$quote= "Yor fifth quote";}
The value next to $set_quote should be increased on each new line.</p> ]]></description>
<pubDate>Mon, 31 Aug 2009 19:23:37 GMT</pubDate>
<guid>http://snipplr.com/view/19077/random-quotes/</guid>
</item>
<item>
<title>(PHP) Smart Quotes - sarfraznawaz2005</title>
<link>http://snipplr.com/view/11941/smart-quotes/</link>
<description><![CDATA[ <p>Sometimes when you use addslashes, you may end up with double // in front of the string and start getting incorrect results, this is because is get_magic_quotes_gpc on. This function let's you add just single slash to the string irrespective of the setting of get_magic_quotes_gpc.</p> ]]></description>
<pubDate>Sat, 07 Feb 2009 05:06:05 GMT</pubDate>
<guid>http://snipplr.com/view/11941/smart-quotes/</guid>
</item>
<item>
<title>(PHP) Disabling PHP Magic Quotes via .htaccess - aristoworks</title>
<link>http://snipplr.com/view/7477/disabling-php-magic-quotes-via-htaccess/</link>
<description><![CDATA[ <p>Magic Quotes is a great feature of PHP but sometimes it can just get annoying.  It's simple enough to turn it off at the .ini and restart apache but here's a quick .htaccess workaround</p> ]]></description>
<pubDate>Thu, 24 Jul 2008 10:26:22 GMT</pubDate>
<guid>http://snipplr.com/view/7477/disabling-php-magic-quotes-via-htaccess/</guid>
</item>
<item>
<title>(PHP) add Slashes Check Magic quotes function - donkeykong</title>
<link>http://snipplr.com/view/7252/add-slashes-check-magic-quotes-function/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 13 Jul 2008 20:34:07 GMT</pubDate>
<guid>http://snipplr.com/view/7252/add-slashes-check-magic-quotes-function/</guid>
</item>
<item>
<title>(PHP) Secure Undo magic_quotes - luizlopes</title>
<link>http://snipplr.com/view/6266/secure-undo-magicquotes/</link>
<description><![CDATA[ <p>This was taken out of a presentation by eZ systems on PHP Best Practices</p> ]]></description>
<pubDate>Fri, 16 May 2008 10:31:13 GMT</pubDate>
<guid>http://snipplr.com/view/6266/secure-undo-magicquotes/</guid>
</item>
<item>
<title>(PHP) Remove slashes function - eeppeliteloop</title>
<link>http://snipplr.com/view/5538/remove-slashes-function/</link>
<description><![CDATA[ <p>Removes the automatic slashes from POST &amp; GET data if it finds Magic Quotes is activated.</p> ]]></description>
<pubDate>Sun, 23 Mar 2008 14:43:18 GMT</pubDate>
<guid>http://snipplr.com/view/5538/remove-slashes-function/</guid>
</item>
<item>
<title>(PHP) Desactivar Magic Quotes sin modificar php.ini - cochambre</title>
<link>http://snipplr.com/view/151/desactivar-magic-quotes-sin-modificar-phpini/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 30 Jun 2006 13:38:51 GMT</pubDate>
<guid>http://snipplr.com/view/151/desactivar-magic-quotes-sin-modificar-phpini/</guid>
</item>
</channel>
</rss>