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

How to change your Windows XP Desktop Wallpaper - Wallpapers are images that appear in the background on your Desktop, behind all your icons. To change your Desktop wallpaper, do the following: Click anywhere on the Desktop that is not an icon, but click once with your right hand mouse button A menu pops up. The one below Click on  Properties , once with your Left mouse button The following dialogue box pops up This is the Display Properties dialogue box. As you can see, there are tab strips for Themes, Desktop, Screensaver, Appearance, and Settings. Click on the Background tab strip and the dialogue box will change to this one: There is a list of wallpapers we can use. Click on one, and you get a preview of what it will look like. Scroll down to see more wallpapers. If you're satisfied, click the OK button to set your wallpaper. You can use your own images. You are not limited to the ones on the list. If you have an image somewhere on your compute...
Finishing the Spreadsheet  - To finish off the Excel spreadsheet you have been working on in this section, we'll add figures for the weekly cost and yearly costs of the chocolate addiction. We'll use AutoFill and SUM. The bottom of our spreadsheet looks like this: We now have how much each individual chocolate bar is costing us each week. The next things to do is to add them all up to arrive at a weekly figure for all chocolate bars. To calculate the weekly cost of the chocolate addiction, you can use the Excel SUM function. But there's an even easier way - use Auto Fill and SUM. Try this. Click inside cell F20 Click inside the Formula bar at the top and enter   = SU When you see the drop down list of functions, double click   SUM Now click inside D15 of you spreadsheet Excel will enter the Cell for you in the formula bar: Notice the marching ants around Cell D15, and that there is a blue border with blue squares Hold your mouse over the bottom r...