News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Tizag.com:
PHP HTML Form Example
July 10, 2006 @ 06:27:35

In this new tutorial from Tizag.com, they walk you through one of the more basic (yet most looked for) tutorials for beginning PHP developers - a PHP HTML form example.

Use this example as a form walkthrough. We will briefly build an HTML form, and call the form data using PHP. PHP offers several methods for achieving this goal, so feel free to substitute alternative methods as you follow along. Our example will show you a method using a single .php file, combining both PHP and HTML in one simple text file, to retrieve the data and display the results.

Below is a quick review of bullets, check boxes, text fields, and input fields and using them to build a form to retrieve some personal information about our user.

True to the overview, they look at the various types of input fields you'll want to use - textbox, radio button, checkbox, textareas, etc. Finally, they tie it all back together with the complete form you've built (from the example parts), showing how to grab the contents of the form back once submitted (superglobals make it a snap).

5 comments voice your opinion now!
form example tutorial simple introduction form example tutorial simple introduction


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: How Regular Are Your Expressions (The ABC's of PHP, Part 9)

Matthew Weier O'Phinney's Blog: ZF2 Forms in Beta5

Elizabeth Smith's Blog: How to Compile PHP5.2 and PHP-GTK2 on Windows using Visual C++ Express

php|architect: Creating RRD graphs in PHP

DevShed: Emulating a Basic Web Server with Sockets in PHP


Community Events











Don't see your event here?
Let us know!


hack application language package facebook example code hhvm opinion introduction component release overview unittest install security framework symfony2 podcast composer

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework