Archive

Author: Ravindra Kumar

Ravindra is a passionate full stack developer and dedicated blogger with a flair for crafting user-friendly web applications and insightful articles. With expertise spanning front-end and back-end technologies, Ravindra brings ideas to life through innovative coding solutions.

How to get inserted Records ID / Column Data after inserting data in tables in Laravel

In Laravel, when you plan to insert new record into the database table, you can get the ID or any other column’s value of the inserted record using some different methods.Following are some of the approaches: 1. Use create() Method with Eloquent Model If you use create() method to insert a record,you can easily get […]

How to downgrade php version in xampp?

In this post i am going to tell that how can we downgrade or upgrade our XAMPP version on out local computer. Let’s suppose you have installed XAMPP version 8 in your computer system and now you want to downgrade it to XAMPP version to 7.3, to do this you need to follow the given […]

Custom Login and Registration in Laravel

In this post i am going to tell you how can we make custom login and registration in Laravel so first i need to create a registration page.For that, i need to create a blade file called registration.blade.php  and this file will be created under resources > views registration.blade.php New, create a another file called login.blade.php […]

How to Remove public folder from the URL in Laravel

In this post I am going to tell you how can we remove public folder which comes in the URL of Laravel website when it is used to upload on web hosting.To remove this folder, there are 2 ways.1st one is to update some code into .htaccess file of hosting so following is the code […]

How to pass parameters in Transaction method in Laravel

Object of class stdClass could not be converted to string Laravel

Laravel – PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version

PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 8.0.2”. You are running 7.3.2. Question : I am working on a Laravel project and when i made a zip file of this project and uploaded into the web hosting of Linux server and it started to show […]

How to show Bootstrap Modal Popup as Alert box in PHP

Showing modal Popup in PHP as Alert Message Box In this post, I am going to explain about showing a popup message box using bootstrap modal popup in PHP. In this post i am going to use PHP, JavaScript, Ajax and bootstrap. First I need to create a form where the user can fill the […]

How do i set the value of a select box programmatically in JavaScript / jQuery

in this article I am going to explain how can we set value of select box using JavaScript or jQuery. Let’s suppose you are fetching some value from database and you want to display it on website page in dropdown list. The values that are in database should be added automatically in select box. You […]

How do I validate a drop down list in Laravel PHP?

I am working on a project where I need to validate a dropdown lost which coded as select tag of HTML so I want to validate it with blank value so that user may not leave it blank.so following is my Laravel blade file and controller code. Blade View File Controller file Answer In the […]