#PHP.
24 posts filed under this topic.
PHP Cookies πͺ vs Sessions π: Complete Guide with Code Examples
Learn PHP cookies πͺ and sessions π with fun theme park analogies. Manage user data securely with practical PHP code snippets!
PHP Input Validation & Sanitization: π Railway Ticket Booking Guide π‘οΈ
Learn PHP input validation and sanitization with a fun railway ticket booking analogy π. Protect your website from SQL injection and XSS with practical code examples!
Understanding `self::` vs `static::` in PHP: A Simple Guide for Everyone! π
Learn the difference between self:: and static:: in PHP with easy-to-understand examples! This beginner-friendly guide uses fun illustrations and emojis to make programming concepts clear for everyone.
Install XAMPP on Ubuntu
Learn how to install XAMPP on Ubuntu, start and stop it from the terminal, open the manager, and remove it cleanly when needed.
PHP - LinkedIn Skill Assessments Quizzes with Answers
In this article, you will find LinkedIn Assessment, Questions and Answers for PHP.
PHP Interview Questions
This tutorial explains with syntax and an example of how to flatten a multi-dimensional array based on the value of depth specified in the Laravel framework.
PHP - Ternary Operator
PHP - Ternary Operator
Get Last Array Element in PHP and Laravel
This article, guide you through the retrieval of last array element in different ways in Laravel and also in PHP.
Create collection instance for given array in Laravel
This tutorial explains with syntax and an example of how to create a collection instance from provided array with Laravel collect() helper method in the framework.
Form Validation For Allowing Only Past Date Or Date Before Today
This tutorial explains with syntax and an example of how to flatten a multi-dimensional array based on the value of depth specified in the Laravel framework.
Flatten Array using Arr::flatten() in Laravel
This tutorial explains with syntax and an example of how to flatten a multi-dimensional array based on the value of depth specified in the Laravel framework.
How To Move Record From One Table To Another In Laravel
This tutorial explains with an example of how to move a record from one database table to another in PHP Laravel framework.
How To remove elements from array collection In Laravel
This tutorial explains with syntax and example how we can move records from one table to another collection in PHP Laravel framework
How To Drop Composite Indexes With Migration In Laravel
This tutorial explains how to create and drop composite keys with migration in PHP Laravel framework with syntax and example
How To Create Composite Indexes With Migration In Laravel
This tutorial explains how to create composite keys with migration in PHP Laravel framework with syntax and example
Ways to declare unsigned columns in the Laravel migrations
Laravel allows developers to declare unsigned columns in different ways. As it's required to handle the relationship between tables by just associating models with each other.
How to bind URL parameter to model in Laravel
How to bind URL parameter to model in Laravel
How To Create Indexes With Migration In Laravel
How To Create Indexes With Migration In Laravel
How to build query string from an array with http_build_query in PHP
How to build query string from an array with http_build_query in PHP
Convert hexadecimal color to rgb or rgba in php
Convert hexadecimal color to rgb or rgba in php
Get Array of IDs from Eloquent Collection in Laravel
Get an array of ids from Eloquent collection in Laravel using pluck() and modelKeys() function
Whatβs New in PHP 7.4
PHP 7.4 is coming with new features, deprecations, and a boost in performance. Find out the new PHP 7.4 features in this guide.
How to find the array index key of multi-dimensional array
How to find the array index key of multi-dimensional array
How to Get Values from Multi-dimensional Arrays with array_column()
array_column() is an inbuilt PHP function which is used to get the values from a single column from the multi-dimensional array or an array of objects.