PHP Tutorials

PHP is a server-side programming language, which was originally designed for web development but has morphed into a more generalised language over the years.

 

On SkillSugar we have a collection of curated PHP tutorials to help you learn new skills.

Latest

 thumbnail

How to use Foreach Loop in Laravel Blade View (Laravel 5, 6, 7 and 8 Example)

June 17, 2021

A foreach statement allows us to loop through an array of data and do something with each element inside it. In the Lara...

 thumbnail

Redirect to a URL in Laravel 6, 7 & 8

June 09, 2021

To redirect to a URL in Laravel, use the built-in redirect() function. Pass the redirect path as the first argument like...

 thumbnail

How to Convert Unix Timestamp to Date Format in PHP

June 09, 2021

To convert a Unix timestamp to a readable date format in PHP, use the native date() function. Pass the format you wish t...

 thumbnail

How to Echo or Print an Array in PHP

June 04, 2021

In this tutorial, we will learn some different ways of printing/echoing an array in PHP. Print Data in PHP Array wi...

 thumbnail

How to Convert DateTime to String in PHP

June 04, 2021

In this tutorial, we will explore some of the ways to convert a PHP DateTime object to a string. DateTime to String...

 thumbnail

Get MIME Type with PHP

March 27, 2021