Skip to main content

Beginners PHP

 -This is a complete and free PHP programming course for beginners. It's assumed that you already have some HTML skills. But you don't need to be a guru, by any means. If you need a refresher on HTML, then click the link for the Web Design course on the left of this page. Everything you need to get started with this PHP course is set out in section one below. Good luck!

Home Page
Home Page

> PHP Section One - An Introduction to PHP
1. What is PHP and Why do I need it?
2. What you need to get started
3. Installing and testing Wampserver
4. Troubleshooting

> PHP Two - Getting Started With Variables
1. What is a Variable?
2. Putting text into variables
3. Variables - some practice
4. More variable practice
5. Joining direct text and variable data
6. Adding up in PHP
7. Subtraction
8. Multiplication
9. Division
10. Floating point numbers

> PHP Three - Conditional Logic
1. If Statements
2. Using If Statements
3. if ... else
4. if ... else if
5. Comparison Operators
6. NOT Equal To
7. Less Than and Greater Than
8. What these mean: <=, >=
9. The Switch Statement
10. Logical Operators
11. Boolean Values
12. Operator Precedence - a List

> PHP Four - Working with HTML Forms
1. The HTML Form
2. The Method Attribute
3. The Post Attribute
4. The Action Attribute
5. The Submit button
6. Getting values from a Text Box
7. Check for Submit button clicks
8. More on the ACTION attribute
9. Keep data the user entered
10. PHP and Radio Buttons
11. PHP and Checkboxes

> PHP Five - Programming Loops
1. For Loops
2. A Times Table Programme
3. The Code for the PHP Times Table
4. While Loops
5. Do ... While loops
6. The break statement
> PHP Six - Arrays in PHP
1. What is an Array?
2. Setting up an Array in PHP
3. Getting at the values stored in Arrays
4. Arrays - Using Text as Keys
5. Arrays and For Each
6. Sorting Array values
7. Random Keys from an Array
8. The count function
9. Some Array Scripts

> PHP Seven - String Manipulation
1. Changing Case
2. Trimming White Space
3. Shuffle characters
4. Finding String Positions with strpos
5. Splitting a line of text
6. Joining text into a single line
7. PHP and Escaping
8. String function list

> PHP Eight - Create your own Functions
1. An Introduction to Functions
2. Variable scope and functions
3. Functions and Arguments
4. A Function to check for blank text boxes
5. Getting values out of functions
6. By Ref, By Val
7. PHP Server Variables
8. HTTP header() Function
9. The INCLUDE( ) Function

> PHP Nine - Security Issues
1. Security Issues And Form Elements
2. htmlspecialchars( )
3. strip_tags( )

> PHP Ten - Working With Files In PHP
1. Working With Files In PHP
2. Opening a file with readfile( )
3. Opening a file with fopen( )
4. Options for fopen( )
5. Writing to files
6. Working with CSV files
7. Reading a text file into an array
8. File Locations

> PHP Eleven - Date and Time Functions in PHP
1. The date( ) function
2. Using the date( ) function
3. The getdate( ) Function

> PHP Twelve - PHP and MySQL
1. PHP and MySQL
2. Create a database with phpMyAdmin
3. Setting up fields in tables
4. Add records to a MySQL Table

> PHP Thirteen - Manipulate a MySQL Database
1. MySQL databases and PHP code
2. Read records from a MySQL database
3. Adding records to a MySQL database
4. Import Database into phpMyAdmin
5. PHP Prepared Statements
6. Insert, Update, Delete with Prepared Statements

> Walkthrough One - PHP User Authentication
1. PHP User Authentication - Introduction
2. The login database
3. PHP - Encrypting Passwords
4. The Login script
5. Logging in and Logging Out

> Walkthrough Two - Build your own PHP Survey/Poll Application
1. PHP Survey App - the database
2.How the PHP Survey works
3. Setting a question for the Survey
4. The Code for the Survey
5. Viewing the Survey results
6.Adding a new Survey question

Comments

Popular posts from this blog

Visual Basic .NET Contents Page   -This computer course is an introduction to Visual Basic.NET programming for beginners. This course assumes that you have no programming experience whatsoever. It's a lot easier than you think, and can be a very rewarding hobby! You don't need to buy any software for this course! You can use the new FREE Visual Basic Express Edition from Microsoft. To see which version you need, click below: Getting the free Visual Studio Express - Which version do I need? > VB .NET One - Getting Started   1. Getting started with VB.NET 2. Visual Basic .NET Forms 3. Adding Controls using the Toolbox Home Page 4. Adding a Textbox to the Form 5. Visual Basic .NET and Properties 6. The Text Property 7. Adding a splash of colour 8. Saving your work 9. Create a New Project >   VB .NET Two - Write your first .NET code   1. What is a Variable? 2. Add a coding button to the Form 3. Writing y...
The Excel SumIF Function  - Another useful Excel function is SumIF. This function is like CountIf, except it adds one more argument: SUMIF( range ,  criteria ,  sum_range ) Range and criteria are the same as with  CountIF  - the range of cells to search, and what you want Excel to look for. The Sum_Range is like range, but it searches a new range of cells. To clarify all that, here's what we'll use SumIF for. (Start a new spreadsheet for this.) Five people have ordered goods from us. Some have paid us, but some haven't. The five people are Elisa, Kelly, Steven, Euan, and Holly. We'll use SumIF to calculate how much in total has been paid to us, and how much is still owed. So in Column A, enter the names: In Column B enter how much each person owes: In Column C, enter TRUE or FALSE values. TRUE means they have paid up, and FALSE means they haven't: Add two more labels: Total Paid, and Still Owed. Your spreadsheet should look something li...