How To Convert XML To Array with PHP
XML is quite daunting when viewing it for the first time, it’s the heavy tree-like structure can be quite confusing. Sometimes it’s much easier to work with the data from…Continue Reading …
XML is quite daunting when viewing it for the first time, it’s the heavy tree-like structure can be quite confusing. Sometimes it’s much easier to work with the data from…Continue Reading …
Downloading a PDF file in PHP can be achieved with third-party packages such as html2pdf but first it must be converted from HTML to PDF. In this following tutorial, we…Continue Reading …
In this tutorial-based article, we will learn how to convert HTML with CSS styling into a PDF file. Whilst PHP currently doesn’t have this capability in its native functional arsenal….Continue Reading …
The Answer: Using implode() As I’ve always said, PHP has the answer for everything, and the conversion of an array to a flat string is no exception. Using implode to…Continue Reading …
Introduction to the PHP array One of the fundamentals of programming is the array type which when it comes to PHP can have some variation in structure. Most commonly is…Continue Reading …
Configuring Composer on a Mac device is somewhat trivial, this article aims to provide a step by step guide on how to install and use composer on Mac. The guide…Continue Reading …
The Guzzle package is the answer to all HTTP request use-cases. Whether it be a GET, POST, or others, Guzzle has your back. In today’s era, there is a rapidly…Continue Reading …
There is a variety of ways to get the first element or value of an array with PHP. Functions such as array_shift() will aid in grabbing the first value, but it…Continue Reading …
In this tutorial based article we will learn how to use Laravel with CRUD methods in resource controllers by building a fully functioning application. The tutorial is for anyone, for…Continue Reading …
The answer: Use the http_response_code() function with the relevant HTTP status code parameter. Luckily for us, PHP has many inbuilt native functions that are great for the web. This is…Continue Reading …