How to Set a Cookie in PHP
In this lesson I will show you how to set a cookie in PHP. The process is relatively easy and can be used for some incredibly useful tracking of information. However, recent changes in EU legislation means that you must now make users aware of and consent to the use of cookies if you live in the EU and your site uses cookies.
How to install MAMP on Mac
PHP Coding Challenge: How to create a multiplication grid in PHP
PHP Coding Challenge: Let's go Shopping
This challenge is taken from the extremely popular PHP for Beginners course. In the challenge you need to take the credit card number from a user’s input and check if it is valid.
How to Turn on PHP Error Reporting in MAMP
One of my students asked a question this week about error reporting. When following one of the lessons in the PHP for Beginners course he should have received an error (intended error) but it did not show. He was curious as to why he did not receive the error as he was supposed to.
How to use PHP $GLOBALS
How to use FOR Loops in PHP
In this lesson I will show you how to use FOR loops in PHP. After starting off with a basic loop to print out the first 10 counting numbers, then extending into decreasing values and listing multiples, I will move onto finally showing you how to create a loop within a loop and print off the multiplication tables.
How to Process Form Data in PHP
In this previous lesson we styled a basic HTML form using Bootstrap. We will now look at how we process the data from the form.