
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Shilpa Kalangutkar has Published 51 Articles

Shilpa Kalangutkar
7K+ Views
To demonstrate the above, we are going to make use of the below form It has username and password fields. Let us try to get raw form data in the methods shown below −Example 1 Using file_get_contents() file_get_contents() method is a built-in PHP function and it returns the file content ... Read More

Shilpa Kalangutkar
4K+ Views
All the routes are stored inside the routes/ folder. If you open routes/web.php you will see the list of routes defined for your application. If you want to work with routes, you need to include the following class − use Illuminate\Support\Facades\Route; The routes/web.php file along with above class is ... Read More

Shilpa Kalangutkar
5K+ Views
You can make use of the File facade class. To work with File facade you need to include the class as shown below − use Illuminate\Support\Facades\File; Here is a list of examples that shows how to delete the files from the public folder. The files details in the public ... Read More

Shilpa Kalangutkar
12K+ Views
To pass an array as URL parameter you can make use of php built-in function http_build_query(). The http_build_query() returns you an URL-encoded query string. Example 1 Using http_build_query() Following is an example of this method − $data = array( 'field1' => 'test', 'field2' => ... Read More

Shilpa Kalangutkar
17K+ Views
Eloquent is a new object relational mapper (ORM) that helps to interact with database. With Eloquent each table has a mapping Model that takes care of all the operations on that table. Model in laravel represents the table in the database. For example if you have table customers, the model ... Read More

Shilpa Kalangutkar
912 Views
You can insert a new user in the following ways as shown in the examples below. To insert a new user from Laravel you can do it using artisan seeder. To do that first create a seeder using the command below − php artisan make:seeder UserSeeder Once the command ... Read More

Shilpa Kalangutkar
13K+ Views
Collection in Laravel is an API wrapper that helps you deal with different operations to be performed on arrays. It makes use of the class Illuminate\Support\Collection to deal with arrays in Laravel. To create a collection from a given array you need to make use of the collect() helper method ... Read More