
How to Use PHP foreach Loops
In this tutorial, we will discuss how to use and write a foreach loop in PHP. They are great for iterating through arrays or objects. Highly recommend learning how to use this type of loop. Read More...
Learn coding online in these easy to follow but in-depth tutorials. Currently, we cover the basics of Python, but we’re working hard to bring you lots more tutorials.
In this tutorial, we will discuss how to use and write a foreach loop in PHP. They are great for iterating through arrays or objects. Highly recommend learning how to use this type of loop. Read More...
In this tutorial, we show you how to write a while loop in JavaScript. A while loop continues to run if a specified condition is true. It is one of the simplest loops you will learn how to write in JavaScript. Read More...
This tutorial shows you how to read and write a switch statement in PHP. We also go through some of the reasons why you may want to use a switch instead of a series of if-else statements. Read More...
This guide will show you how to use the explode function in PHP. By utilizing this function, you can convert a string to an array. It achieves this conversion by splitting a string by the specified separator. Read More...
In this tutorial, you will learn how to use the implode function in PHP. This function allows you to combine all values of an array into a string, joined by the defined separator. So effectively, it converts an array to a string. Read More...
In this tutorial, you will learn how to write and utilize a for loop in the JavaScript language. These are powerful loops that help you easily iterate through data and are especially useful when dealing with arrays. Read More...
This tutorial shows you how to generate an MD5 hash for either a file or string. While useless for security, this hash still has its uses. It can be used as a quick hash to validate that two files are the same. Read More...
This tutorial will show you how to use the sleep and usleep functions in PHP. These allow you to pause the execution of the running script. Sleep sleeps the script in seconds, usleep sleeps the script in microseconds. Read More...
Within this guide, you will learn how to use if, else, if else conditional statements in JavaScript. These allow you to perform actions when a condition is met and are a critical part of programming with JavaScript. Read More...
In this tutorial, I go through the basics of Python lists and how you can use them. We cover creating, accessing, copying, and deleting lists. You must learn lists if you wish to program using Python effectively. Read More...
This tutorial will show you how to use the str_replace function in PHP. This function allows you to find and replace text within a string quickly. In addition, it can handle different matches on a string with different text replacements. Read More...
In this tutorial, I go through how and when to use require and require_once in PHP. These two statements are useful for including essential scripts and files into your PHP code. Read More...
Learn how to use and declare constants within the PHP language. This guide will show you how to use the define() function and the const keyword. This function and keyword affect the way a constant can be declared in PHP. Read More...
In this tutorial, we take you through the basics of using and writing a for loop in the PHP programming language. It is a vital code control structure that I recommend you learn. Read More...
In this tutorial, you will learn how to convert a string to an integer in Python. In addition, you will learn how to deal with strings that contain different number formats such as binary, hexadecimal and octal. Read More...
In this tutorial, we will be showing you how you can convert an int to a string within the Python language. We explore a few different methods of doing this, from using the str() function to utilizing Python's f-string syntax. Read More...
Learn about the basics of Tuples in the Python programming language. We go through the steps to create, access, and delete tuples. They are an essential data type in Python, so I recommend learning about them. Read More...
In this guide, we will be showing you how to create a directory in PHP using the mkdir function. This function even allows you to set permissions on new folders. It also has the ability to create entire directory trees. Read More...
In this tutorial, we will discuss how to write a do while loop in PHP. It is a crucial loop to understand if you wish to program using PHP. Luckily, they are super easy to learn quickly. Read More...
In this project, we will be writing a simple script in Python that will monitor a website for changes from the Raspberry Pi. When the script detects a change, it will send an email to the specified email address. Read More...