Learn
Featured
Courses
Home
Courses
PHP
jQuery
MEMBERS
Sign In My Account

CODING ACADEMY

Learn
Featured
Courses
Home
Courses
PHP
jQuery
MEMBERS
Sign In My Account
  • Filter: PHP
  • All
  • Apache
  • Augmented Reality
  • Bootstrap
  • canvas
  • Coding Challenges
  • Courses
  • CSS
  • Game Development
  • Google
  • Hosting
  • htaccess
  • HTML
  • javascript
  • jQuery
  • Mac
  • MySQL
  • PHP
  • Python
  • Swift
  • Windows
April 3, 2022
Patrick Morrow
PHP

How to send an email in PHP

April 3, 2022
Patrick Morrow
PHP
How to send an email in PHP

I was recently asked about sending an email via a PHP script. There are various ways to do this including third party plugins, scripts, or even just some basic PHP code.

April 3, 2022
Patrick Morrow
PHP

Tagged: mail

April 1, 2020
Patrick Morrow
PHP

How to Set a Cookie in PHP

April 1, 2020
Patrick Morrow
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.

April 1, 2020
Patrick Morrow
PHP

Tagged: setcookie, cookies

July 13, 2019
Patrick Morrow
Apache, PHP, MySQL

How to install MAMP on Mac

July 13, 2019
Patrick Morrow
Apache, PHP, MySQL

In this tutorial you will learn how to install MAMP on a Mac. If you want to do any development work in PHP and MySQL then you will need to install a server environment which includes Apache and MySQL. The most popular way of doing this is to use a stack such as MAMP.

July 13, 2019
Patrick Morrow
Apache, PHP, MySQL

Tagged: mamp, apache, mysql, php, phpmyadmin

4 Comments
July 12, 2019
Patrick Morrow
PHP

PHP Coding Challenge: How to create a multiplication grid in PHP

July 12, 2019
Patrick Morrow
PHP

This is a nice little challenge that will get you thinking about various aspects of the processes involved. If you think back to your days in school you may remember the multiplication tables and, in particular, the multiplication grid that looked something like this:

July 12, 2019
Patrick Morrow
PHP

Tagged: php, table, loop

2 Comments
July 10, 2019
Patrick Morrow
PHP, Coding Challenges

PHP Coding Challenge: Let's go Shopping

July 10, 2019
Patrick Morrow
PHP, Coding Challenges
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.

July 10, 2019
Patrick Morrow
PHP, Coding Challenges

Tagged: php, challenge, coding challenges

2 Comments
July 1, 2019
Patrick Morrow
PHP

How to Turn on PHP Error Reporting in MAMP

July 1, 2019
Patrick Morrow
PHP

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.

July 1, 2019
Patrick Morrow
PHP

Tagged: php, mamp, error reporting, php.ini, mac

2 Comments
June 28, 2019
Patrick Morrow
PHP

How to use PHP $GLOBALS

June 28, 2019
Patrick Morrow
PHP

In this lesson I will show you how to use the super global variable $GLOBALS. The super globals can be extremely useful despite some of them being used less frequently than other PHP features.

June 28, 2019
Patrick Morrow
PHP

Tagged: php

June 26, 2019
Patrick Morrow
PHP

How to use FOR Loops in PHP

June 26, 2019
Patrick Morrow
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.

June 26, 2019
Patrick Morrow
PHP

Tagged: php, loop, video

June 26, 2019
Patrick Morrow
HTML, PHP

How to Process Form Data in PHP

June 26, 2019
Patrick Morrow
HTML, PHP
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.

June 26, 2019
Patrick Morrow
HTML, PHP

Tagged: html, php, html form

June 26, 2019
Patrick Morrow
PHP

How to use foreach loops

June 26, 2019
Patrick Morrow
PHP

In this lesson we look at how to create a foreach loop in PHP. There are many uses for loops, especially when you deal with returned data from a database query. In this example we shall consider an array of values and we will loop through those values and output each.

June 26, 2019
Patrick Morrow
PHP

Tagged: php, arrays, foreach

Older Posts

Guest Blogger

Back To Top
Terms of Use
Privacy Policy
© 2024 Patrick Morrow ABN: 79 441 351 414
Cart (0)