PHP 7 Fundamental Tutorial for Beginners – If, Else and Elseif Conditional Statements

PHP Conditional Statements Like most programming languages, PHP also allows you to write code that performs different actions based on the results of logical or comparative test…

Read More

How to show City List as per Country and State select in DropDown using AJAX in Laravel? Part-1

How to use AJAX in DropDown in Laravel? Example as in Country, State, and City. What is the DropDown? Create a dropdown box that appears when the…

Read More

What are the Operators in PHP?

What is Operators in PHP ? Operators are symbols that tell the PHP processor to perform certain actions. For example, the addition (+) symbol is an operator…

Read More

How to upload file in database with Laravel 5.8

Step:1 composer create-project –prefer-dist laravel/laravel uploadfile Step:2 make a controller like that.php artisan make:controller ImageUploadController Step:3 amke a Modelphp artisan make:model File -m Step:4 put this code…

Read More

How to create alternating row colors challenge in PHP?

In this blog, I am going to explain how to recreate alternating rows colors challenge in PHP. So, before creating a .php file in XAMPP/htdocs file and…

Read More

How to implement Flash message in Laravel 5.8

Step:1 Make a page. resources/views/my_message.blade.php Copy this code and paste in the my_massage.blade.php Step:2 make a controller php artisan make:controller MessageController Step:3 Copy this code and paste…

Read More

How to creating and accessing string function in PHP?

What is String in PHP? A string is a sequence of letters, numbers, special characters and arithmetic values or combination of all. The simplest way to create…

Read More

How to adding array in PHP in different ways?

In this blog I am going to explain that how to add array in PHP with different ways. I am talking about Arrays how different ways to…

Read More

How to create captcha code in Laravel 5.8

Step:1composer create-project –prefer-dist laravel/laravel captcha “5.8.*” Step:2 we have to add mews Captcha package.composer require mews/captcha Step:3 open config/app.php file and add service provider and alias. Step:4 routes/web.php paste…

Read More

How to Convert HTML to Pdf in laravel.

Step:1 Step:II make controllerphp artisan make:controller PdfController Step:III Install Package composer require barryvdh/laravel-dompdf Step:IV open your config/app.php put this code after Providers Barryvdh\DomPDF\ServiceProvider::class,Step:V open your config/app.php put this code…

Read More

How to implement CRUD functions in the Laravel PHP Framework? Part-3

How to implement CRUD functions in the Laravel PHP Framework? In previous blog Part-2, We have seen create() store() and index() functions. Step 18. Go to app/Http/Controller/CustomerServiceController.php and in that…

Read More

How to implement CRUD functions in the Laravel PHP Framework? Part-2

How to implement CRUD functions in the Laravel PHP Framework? In previous blog Part-1, We have seen that how we start to implement CRUD functions. Step 12….

Read More

PHP 7 Fundamental Tutorial for Beginners – PHP Data Types

The name itself indicating, data types means type of data. The values assigned to a PHP variable may be of different data types including simple string and…

Read More

How to implement CRUD functions in the Laravel PHP Framework? Part-1

How to implement CRUD functions in the Laravel PHP Framework? Within computer programming, the acronym CRUD stands for create, read, update and delete. Step 1. Create a…

Read More

How to Delete data in Multiple Tables (with Relationship) Laravel.

To delete data from database with with relationship with two tables in Laravel we have to use the solution that I’ve used. Now, Question is Where and…

Read More

Difference Between echo and print in PHP

Echo vs. Print PHP echo and print both are PHP Statements Both are used to displaying the output in PHP. What is echo The echo is a…

Read More

Echo And Print Statements In PHP

What is echo in PHP This statement is used to output the data to the screen or printing text on screen. The echo statement can output one…

Read More

How to Display Navigation Menus of our Custom Theme in WordPress? Part-8

How to Display Navigation Menus of our Custom Theme in WordPress? In blog Part-7, we have seen how to register Navigation Menus of our Custom Theme. We…

Read More

How to define constant in PHP?

what is constant in PHP? A variable whose value we cannot modify Constant means fixed. We cannot change the value which we have fixed as fixed later….

Read More

How To Send Slack Notification with Laravel

It seems like a topic for basic Laravel developer, but while it’s easy to send emails, but the whole system of various notifications is much deeper, and worth studying….

Read More

Manipulation of dates and times in PHP with examples.

Here we are going to discuss about the PHP Date and times. how can we call current date and time in our code. There are nearly fifty…

Read More

How to Register Navigation Menus of our Custom Theme in WordPress? Part-7

How to Register Navigation Menus of our Custom Theme in WordPress? What are the Navigation Menus? Navigation-Menus are customizable menus in your theme. They allow users to…

Read More

How to Define a Variable in PHP

what is variable in PHP Variables are used to keep data in one place. Such as string of text numbers, etc. The value of a variable can…

Read More

How to Create a Custom Page of Custom Theme in WordPress? Part-6

How to Create a Custom Page of Custom Theme in WordPress? Why to use Custom Page? Customized page templates allow you to individualize any part of your WordPress site…

Read More

PHP 7 Fundamental Tutorial for Beginners – PHP Syntax

Standard PHP Syntax One of the first scripts is run on the server, and the simple result results are sent back to the browser. Basic PHP Syntax…

Read More

How to Create a Page in WordPress? Part-5

How to Create a Page in WordPress? What is a page in WordPress? WordPress allows us to create pages by default and its theme controls the appearance…

Read More

How to setup PHP in localhost for server-side scripting?

In this blog I am going to start with the beginning, So even if you are not aware to run PHP on your local machine you to…

Read More

Autoloading Classes in PHP

1. What are Autoloading Classes? Many developers writing object-oriented applications create one PHP source file per class definition. One of the biggest annoyances is having to write…

Read More

How to setup your Gmail account to send emails in Laravel

In my previous blog, I described how can you send an email with an attachment without saving it in the database you can read that here. Now…

Read More

How to Work Stated on PHP

Install XAMPP on your PC to quickly create web applications with PHP database. If you want to create a dynamic web page using the first step, then…

Read More