All posts in:

PHP

How to read and manipulate an XML document with PHP

Here’s our XML document representing a fictional SOAP service. We need to accomplish two tasks: Read the current value of the ovCollCurrency nodeSet the ovCollCurrency…

How to update composer to its latest version

In this post, I am guiding you through the process of updating/installing composer on your Linux system. Also, I assume that you have the latest…

Null Variables in PHP

A Null variable is a variable that doesn’t have a value. While writing code, there can be situations/scenarios where we have to deal with Null…

Let’s create a Countdown Timer in PHP

The following PHP snippet can be used to display a countdown timer on a web page. Start by creating a new PHP page in your…

Formatting Currency Values in PHP

You can format any numeric value to have decimal points by using PHP’s number_format() function. This is ideal when you want to deal with currency…

Multiple File Uploads with HTML & PHP

In this post, I am going to show you guys how to create a form that allows uploading multiple files at once. This is a…