Phpdynamic

PHP and MySQL Programming Guides, Tutorials, & Articles

Posts Tagged Forms

Working with Forms in PHP – Part 2

NOV 18

Form Elements with Multiple Values

In the first part of this tutorial, we worked with input boxes and radio buttons, which only allow a single data value to be submitted per form element. We are not limited to single values, because HTML also allows form elements such as check-boxes and select-boxes that allow the user to choose multiple items simultaneously for a single form field, so we need a way to process them a little differently in PHP. Lets start with an example:

Read more…

Working with Forms in PHP – Part 1

OCT 28

Forms are everywhere on the Web, you use them to enter your billing details while shopping on-line, writing a comment on a blog, or while preforming a search. Regardless, forms are essential to making the Web interactive. In this tutorial we’ll show you how to use PHP to process HTML forms. A prerequisite for this tutorial is a basic knowledge of HTML forms, a good reference is Htmlgoodies.

Read more…