<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 23 May 2013 17:37:51 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Validating Boolean Values and Float Numbers with Filters in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/13003</guid>
      <link>http://www.phpdeveloper.org/news/13003</link>
      <description><![CDATA[<p>
Continuing their "validation in PHP" series, DevShed has posted <a href="http://www.devshed.com/c/a/PHP/Validating-Boolean-Values-and-Float-Numbers-with-Filters-in-PHP-5/">this new tutorial</a> looking at the validation of boolean values and float numbers in PHP5 applications (with the <a href="http://php.net/filter">filter extension</a>).
</p>
<blockquote>
As you learned in previous parts of the series, the filter extension permits you to validate elements of a given array very easily as well. Therefore, in this fourth chapter I'm going to explain how to check for Boolean values in arrays, as well as how to validate float numbers using another handy filter.
</blockquote>
<p>
<a href="http://www.devshed.com/c/a/PHP/Validating-Boolean-Values-and-Float-Numbers-with-Filters-in-PHP-5/2/">the examples</a> are pretty simple, running a <a href="http://php.net/filter_var">filter_var</a> on the values to check if it's a boolean and to require that the set of values comes in as an array.
</p>]]></description>
      <pubDate>Thu, 06 Aug 2009 07:51:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Checking Boolean Values with Filters in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/12966</guid>
      <link>http://www.phpdeveloper.org/news/12966</link>
      <description><![CDATA[<p>
DevShed continues their look at filtering in PHP5 applications with <a href="http://www.devshed.com/c/a/PHP/Checking-Boolean-Values-with-Filters-in-PHP-5">this third part</a> covering checks on boolean values.
</p>
<blockquote>
As I said before, the filter extension can be used for more than validating integers, since it provides the required functionality to checking other data types. Thus, in the next few lines I'm going to discuss how to use the extension for validating Boolean values.
</blockquote>
<p>
They give a <a href="http://www.devshed.com/c/a/PHP/Checking-Boolean-Values-with-Filters-in-PHP-5/2/">few lines of example code</a> to show how different values (like "1" versus 1 and "true" versus true) are affected by PHP's dynamic typing.
</p>]]></description>
      <pubDate>Thu, 30 Jul 2009 09:09:12 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Performing Full-text and Boolean Searches with MySQL]]></title>
      <guid>http://www.phpdeveloper.org/news/7992</guid>
      <link>http://www.phpdeveloper.org/news/7992</link>
      <description><![CDATA[<p>
DevShed has started a new MySQL-centric series today with <a href="http://www.devshed.com/c/a/PHP/Performing-Full-text-and-Boolean-Searches-with-MySQL/">this new tutorial</a>, an initial look at working with MySQL and PHP to perform full-text and boolean searches on your data.
</p>
<blockquote>
In this series of articles I'm going to show you how to work with full-text and Boolean searches using MySQL and PHP 5, but the entirety of the code samples that will be developed here can be easily modified to work with a different database server.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Performing-Full-text-and-Boolean-Searches-with-MySQL/">start with</a> the creation of a "common approach" for making the requests and fetching the results (in classes so that any other database could be substituted). With the class structure in place, they move on to the full-text searches, showing how to format database tables by creating them with a fulltext index on which ever fields you want.
</p>]]></description>
      <pubDate>Wed, 06 Jun 2007 14:06:00 -0500</pubDate>
    </item>
  </channel>
</rss>
