Back to DFS's Workshop Page
DFS's PHP & MySQL Workshop Agenda
This workshop is designed so that participants can work at their own pace with the aid of the workshop leaders and their assistants.
- Introductions
- Overview
- HTML Review
- Linux General
- Booting
- Login
- Shell:
- Opening
- Command-Line Interpreter
- man progname: on-line program documentation
- whoami: find out who you are logged in as
- who: find out who is logged in on your machine
- File System I
- which progname : find out which copy of a program is running
- pwd : Print Working Directory -- find out where you are in the directory tree
- ls : LiSt; find out the contents of a directory
- cd : Change Directory
- File System II
- mkdir ~/public_html/test_html : MaKe DIRectory
- cp : CoPy a file
- rm : ReMove (delete) a file
- Text Editor: vi [10]
Creating Hello World in HTML
- PHP Scripting Language
- Create a pseudo PHP script & view in Mozilla
cd ~/public_html; mkdir test_php
cp test_html/helloworld.html test_php/helloworld.php
- Create your first real script and run it from the Command Line
- Testing your scripts from the Command Line
- Hardset values inside the script

Problem: The Quadratic Formula I
- Command Line arguments passed to the script

Problem: The Quadratic Formula II
- Interactively testing the script

Problem: The Quadratic Formula III
- Edit the file helloworld.php to embed PHP code in an HTML document
- Generate a full HTML document using PHP
- Use a string variable
- Use a pair of functions
- Use a pair of functions in a separate file
- Simple Numeric Variables
- Using hardset values
- Read values from a file
- Use values passed to the script
Use GET instead of POST to see values being passed
- Establishing default values
- Simple String Variables
- Problem:
A Simple Concordance
- Random Values
- Arrays
- Arrays I: Traditional One-Dimensional
- Arrays II: One-Dimensional with String Index
- Arrays III: Using Two-Dimensional Arrays
- Passing an Array
- Passing Information Between PHP Scripts
- Passing Numeric Values Using a Form
- Passing String Values Using a Form
- Using Options in a Form
- Passing an Array
- Recursion
- Creating Graphics
- Creating a Simple Picture
- Drawing a Graph
- Problem:
Making Thumbnails
- Larger Projects
- Reference
- Conditionals
- Loops
- Functions
- Files
- Read values from a file
- Read unknown number of lines from a file
- Read information from a file into an array
- Making an HTML Page Dynamic: An Eight-Step Process
- Accessing System Information
- Binary and Other Numeration Systems
- Debugging
- Introduction to Data Bases
- MySQL Introduction Using phpMyAdmin
- Joel Philip's Beginner MySQL Tutorial [local]
This tutorial is a simple way of learning to use the mysql program.
This site has been having difficulties lately; so I made local copies.
- Create a database in MySQL [local]
- Create a table and fill it with data [local]
- Using the INSERT and SELECT commands [local]
- Dump lots of data in the table [local]
- Retrieve the data we put in our table [local]
- Delete and modify data in our table [local]
- A basic PHP script [local]
- Interactive SQL Training
- Table Basics
- Selecting Data
- Creating Tables
- Inserting into a Table
- Updating Records
- Deleting Records
- Drop a Table
- SQL Interpreter
- Problem:
Random Pictures II
- Advanced Interactive SQL Training
- Intro
- SELECT Statement
- Aggregate Functions
- GROUP BY clause
- HAVING clause
- ORDER BY clause
- Combining conditions and Boolean Operators
- IN and BETWEEN Conditional Operators
- Mathematical Operators
- Table Joins
- SQL Interpreter
- Complete Project, a How-To:
Creating, Editing & Displaying Data for a Glossary DB
- Problem:
Selecting, Editing & Displaying Data from the Outfitters DB
Pages marked
are new since the 4 May 2005 Workshop.
© 2003-2008 DFStermole
Created 1 May 2003
Last Modified 9 Nov 2008