Miscellaneous
  Home arrow Miscellaneous arrow Working with forms in PHP
Codewalker Forums 
  Tutorials  
Database Articles  
Miscellaneous  
Navigation Usability  
PEAR Articles  
Programming Basics  
Server Administration  
XML Tutorials  
  Reviews  
Database Book Reviews  
Linux Book Reviews  
Miscellaneous Reviews  
PHP Book Reviews  
PHP Software Reviews  
Server Admin Reviews  
SQL Tool Reviews  
  Code Gallery  
Content Management Code  
Contest Code  
Counters Code  
Database Code  
Date Time Code  
Discussion Board Code  
Email Code  
File Manipulation Code  
GUI Code  
Link Farm Code  
Miscellaneous Code  
Search Code  
Site Navigation Code  
User Management Code  
Forums Sitemap 
Download TestComplete 
JMSL Numerical Library 
IBM® developerWorks
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MISCELLANEOUS

Working with forms in PHP
By: Matt Wade
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 4
    2002-06-30

    Table of Contents:
  • Working with forms in PHP
  • A simple form
  • Text Boxes
  • Checkboxes
  • Radio Buttons
  • Textareas
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Working with forms in PHP


    (Page 1 of 7 )

    In this tutorial, you will learn how to use forms with PHP.

    One of the most popular ways to make a web site interactive is the use of forms. With forms you can have users register for different things, submit any information you can imagine, upload files, and all types of other things. In this tutorial, we will go through the basics of forms and how to handle the data that comes from those forms with PHP.

    For the scope of this tutorial, I will assume that you have a basic knowledge of HTML and PHP. Though, you can probably get by without a great understanding of either. I will cover several different form elements, including textboxes, checkboxes, select (or drop-down) boxes, radio buttons, and textareas.

    In this tutorial, I am going to show you how to access the information that has been entered into a form. It is up to you to decide what you want to do with it. You can put that information into a database, a flat file, email it off, or countless other things. All I will be showing you is how to get to that data.

    Ok, enough of that. Let's get to it!

    More Miscellaneous Articles
    More By Matt Wade


       · afafas;hiiu
       · You didn't over complicate a rather simple subject.Taught me everything I...
       · 
       · Hi, wz wonderin how i would submit the foreach() loop used for checkboxes to an...
       · Hope this works
       · Hi, I don't know if anyone responded to the first comment titled "how to...
       · If you don't check one of the 3 checkboxes in the form the foreach code generates an...
       · Easy to understand.Thanks for taking the time to share your knowlege.
       · Woohoo! I fixed the "error!"Instead of posting the code after...
       · Thanks for spending the time making this tutorial. It has assisted me...
       · This is great...
       · This is great...
       · 
       · the code: "if(isset($_POST['mycheckbox'])) { echo...
       · I'm new to this, so what do you mean by like a file, where do i save it, and its...
       · A great starter, clear and concise. Enough information to get a newbie like me...
     

    MISCELLANEOUS ARTICLES

    - Stopping CSRF Attacks in Your PHP Applicatio...
    - Quick and Dirty AJAX Tutorial
    - Flickr Puzzle Mashup
    - The PAVISE of Security
    - Creating a CAPTCHA with PHP
    - Sending SMS Thru HTTP
    - The Postal Fix - Part 2
    - Adding Mail with Exim
    - The Postal Fix - Part 1
    - Create Your Own Custom API
    - Adding Drop Shadows with PHP
    - Writing a Basic Authentication System in PHP
    - Overlapping Images with GD
    - Using Sockets in PHP
    - Dynamic CSS with PHP





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT