Learn-by-doing Projects

PHP
Learn-by-doing projects.

* PHP Article Index - Learn-by-doing PHP and Database Projects star
The easiest way to find learning-based, step-by-step projects for PHP and databases - check this list categorized by subject.

Personal Activities Calendar Program - Built With PHP and MySQL star
If you are new to PHP and MySQL(R) or just need to refresh your skills, this is a good place to start. This series of tutorials will give hands on practice using PHP and MySQL to build the simple Personal Activities Calendar Program.

Personal Activities Calendar Program - Collect Data Into Your PHP Program With An HTML Web Form star
In the last tutorial, we began an activities calendar program written in PHP and we created a database table to store information about scheduled activities and events. The next step is to create an HTML web form that we can use to collect the specifics about new activities.

Personal Activities Calendar Program - Error Message For Missing Form Data star
Let's work on handling the error message for our Activities Calendar Program. There are changes we need to make to the Activity Entry script and the Activity_Entry_Form function.

Personal Activities Calendar Program - Error Message For Missing Form Data - 2 star
Let's work on handling the error message for our Activities Calendar Program. There are changes we need to make to the Activity Entry script and the Activity_Entry_Form function.

Personal Activities Calendar Program - Initialize And Pass Argument Variables With A Function star
In this part of the Personal Activities Calendar Program we will put the code that initializes the variables to null just before we send these arguments with the function call.

Personal Activities Calendar Program - INSERT SQL Statement and mysql_query( ) Function star
Now we will write the INSERT sql statement and mysql_query( ) function that will create the new record in the activities table for the Personal Activities Calendar Program.

Personal Activities Calendar Program - INSERT SQL Statement and mysql_query( ) Function - 2 star
Now we will write the INSERT sql statement and mysql_query( ) function that will create the new record in the activities table for the Personal Activities Calendar Program.

Personal Activities Calendar Program - Integrating A Web Form Into A PHP Program star
In the last tutorial for the Personal Activities Calendar Program you built the HTML web form. Now you are ready to begin coding the web application that will drive the calendar program.

Personal Activities Calendar Program - Missing Form Data In A PHP Program star
If the form was submitted and the user has not supplied all the required data, the program will display the form in the web browser again along with an error message. That´s what we will work on now.

Personal Activities Calendar Program - Printing The Web Form With A Function star
To make our program more efficient, we will change the echo statement that prints the web form into a function. Then when we need the web form, we will call the function.

Personal Activities Calendar Program - Printing The Web Form With A Function - 2 star
To make our program more efficient, we will change the echo statement that prints the web form into a function. Then when we need the web form, we will call the function.

Personal Activities Calendar Program - What Goes Into MySQL Database Tables star
Now that we all know what database we will be using and how to connect to that database, we will start to discuss how to add a new table to a database. Your first step is to decide what information you need to store in your database.

Personal Activities Calendar Program - What Goes Into MySQL Database Tables - 2 star
Now that we all know what database we will be using and connect to that database, we will start to discuss how to add a new table to a database. Your first step is to decide what information you need to store in your database.

Personal Activities Calendar Program – Use the PHP include() Statement to Check Input Data star
There are other ways to compartmentalize sections of code, for example, you can create a class or simply use the PHP include() statement. Because this is a beginner´s tutorial series, let´s discuss the include( ) statement method.

Personal Activities Calendar Program – Use the strtotime and mysql_select_db Functions star
At this point in the Personal Activities Calendar Program project, we have finally arrived at the place in the script where we are ready to process the form data for a new activity entry.

Personal Activities Calendar Program – Use the strtotime and mysql_select_db Functions - 2 star
At this point in the Personal Activities Calendar Program project, we have finally arrived at the place in the script where we are ready to process the form data for a new activity entry.

Editor's Picks Articles
Top Ten Articles
Previous Features
Site Map





PHP Forum Posts
PHP
PHP
PHP is really inportant for a programmer


Content copyright © 2018 by . All rights reserved.
This content was written by . If you wish to use this content in any manner, you need written permission. Contact BellaOnline Administration for details.