<?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>Wed, 22 May 2013 00:09:17 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[O'Reilly: Autofilled PHP Forms]]></title>
      <guid>http://www.phpdeveloper.org/news/5007</guid>
      <link>http://www.phpdeveloper.org/news/5007</link>
      <description><![CDATA[The O'Reilly OnLamp.com site has <a href="http://www.onlamp.com/pub/a/php/2006/03/16/autofill-forms.html?CMP=OTC-6YE827253101&ATT=Autofilled+PHP+Forms">a tutorial posted</a> that takes a look at a simple way to "auto-fill" HTML forms with a little help from PHP.
<p>
<quote>
<i>
I hate typing, but I like writing code. A while ago I started to dread all the rote typing required to handle forms in PHP, and began looking for a Better Way. This article describes how I used PHP's regular expression functions to do most of the heavy lifting required to process forms properly, saving lots of typing and giving me time to do stuff I don't hate, such as writing code (and playing <a href="http://www.nethack.org/">NetHack</a>).
</i>
</quote>
<p>
He <a href="http://www.onlamp.com/pub/a/php/2006/03/16/autofill-forms.html?CMP=OTC-6YE827253101&ATT=Autofilled+PHP+Forms">sets it up</a. by describing a problem that he (and others like, specifically, <a href="http://www.onlamp.com/pub/a/php/2004/04/22/php_css_forms.html">Jeff Cogswell</a>, have had) to display the form, validate the input, and display the results of this validation (or a success message). 
<p>
He takes a little bit different kind of method behind it than several form packages out there - he grabs the HTML output of the form with output buffering and does replaces on that with the previously entered values.]]></description>
      <pubDate>Fri, 17 Mar 2006 07:32:18 -0600</pubDate>
    </item>
  </channel>
</rss>
