Learning PHP
See this link for full details of course
Lesson 1
Viewing Data and then including a database
Our example is different where we have changed the position field to grade and added the phone no field.
file://elijah/havinga/html/data.php
file://elijah/havinga/html/data2.php
file://elijah/havinga/html/data3.php
file://elijah/havinga/html/data4.php
file://elijah/havinga/html/data5.php
Lesson 2
Enter data
file://elijah/havinga/html/enter.php
file://elijah/havinga/html/enter2.php
file://elijah/havinga/html/enter3.php
Ability to Edit data
file://elijah/havinga/html/edit.php
file://elijah/havinga/html/edit2.php
file://elijah/havinga/html/edit3.php
Lesson 3
file://elijah/havinga/html/include.php
file://elijah/havinga/html/require.php
This file uses a header.inc and footer.inc
file://elijah/havinga/html/hello.php
Validation of fields done from server side (php of course)
Use javascript for client side validation
This page measures the field length (6 chars.min) being entered
More complex validation
no numbers allowed requires at least 1 lower case char validate3.php
Check for Email validity
Using Functions and includes/requires to do the same thing with validity
Failure to connect message due to bad password connection
With good password
Combined page of Data Enter and Edit
My PHP to Database connection page