Phpdynamic

PHP and MySQL Programming Guides, Tutorials, & Articles

Archive for Tutorials

Installing Apache and PHP

JAN 05

Installing Apache on Windows

We will start first by installing Apache. Once you have downloaded the apache_2.X.X-win32-x86-no_ssl.msi file, double-click it to start the installer. (Note: the X’s in the file name represent the different versions of Apache, for example: apache_2.2.8.) The installation process is straight-forward and typical for Windows.

Read more…

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…