How to use the PHP in_array() Function Thumbnail

How to use the PHP in_array() Function

In this tutorial, you will learn how to use the in_array() function in PHP. Using this function, you can quickly check whether a value exists within an array. It is cleaner to use than writing a for or foreach loop to process the array. Read More...

How to Get the Current Page URL in PHP Thumbnail

How to Get the Current Page URL in PHP

This guide will teach you how to get the current page URL in PHP. There is no inbuilt function to get the current URL. Instead, we have to build it from the $_SERVER super global. This super global contains data such as the request URI. Read More...

How to Use PHP foreach Loops Thumbnail

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...

Using the implode function in PHP Thumbnail

Using the implode function in PHP

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...

Using a for Loop in JavaScript Thumbnail

Using a for Loop in JavaScript

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...

Generating an MD5 hash in PHP Thumbnail

Generating an MD5 hash in PHP

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...

How to Use Python Lists Thumbnail

How to Use Python Lists

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...

How to use the str_replace Function in PHP Thumbnail

How to use the str_replace Function in PHP

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...

PHP require and require_once Thumbnail

PHP require and require_once

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...

How to use Constants in PHP Thumbnail

How to use Constants in PHP

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...

How to Use the PHP for Loop Thumbnail

How to Use the PHP for Loop

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...

How to Use Python Tuples Thumbnail

How to Use Python Tuples

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...