Stay up-to-date with our news, tutorials, and expert analysis.
php artisan migrate:rollback – -path=/database/migrations/2022_specifi06_25_115909_create_states_table.php For recreating the migration php artisan migrate:refresh – -path=/database/migrations/2022_10_27_103718_create_hotel_rooms_table.php
Ravindra Kumar · 1:24 pm
The Page Not Found error generally found when your application can not find the required route in your application or website. Following are few common steps to resolve this error. 1. Check Route Definitions Make sure that the route you are trying to access is defined in the file called routes/web.php or routes/api.php (for API […]
Ravindra Kumar · 1:49 pm
In this post i am going to explain how we can set action of HTML form by using JavaScript. Some times we need give different action to the same form so that in different situation it can be redirected to the relevant URL.In the following example i have explained that how can we give different […]
Ravindra Kumar · 12:35 pm
In this post I am going to tell how can we send ajax request in PHP and how can we get ajax response in PHP. In this example we shall create a form and this might have fields such as name, email, phone and message when this form submits the data will be set to […]
Ravindra Kumar · 12:33 pm
I am getting the error (“SQLSTATE[HY000]: General error: 1005 Can’t create table (errno: 121 “Duplicate key on write or update”)”) on my Laravel project i have three migrations which are following users migration business_profiles migration ads migration When I try to run migration command on terminal of my visual studio code it shows me following […]
Ravindra Kumar · 8:40 am
#1034 – index for table ‘global_priv’ is corrupt; try to repair it I was working on PHP and i need to create a database on phpmyadmin. Then i goto PHPmyadmin to create database after that i need to add a user for my database when i try to add the user it show #1034 – […]
Ravindra Kumar · 11:57 am
In this post, i am going to explain that how can we design a stylish HTML form for our website and this form will be good looking.I am going to use HTML,CSS, Jquery and bootstrape in this example. First, You need to have a index.html file to design the input fields and i am going […]
Ravindra Kumar · 2:42 pm
The value of the for attribute of the label element must be the ID of a non-hidden form control. Question I am using following code into my website and when I scan this on w3 validator it shows following error “The value of the for attribute of the label element must be the ID of […]
Ravindra Kumar · 7:23 am
I am using a middleware in my project and i created a middle ware file called validlogin.php and i applied middleware for my route which comes after login process and this route called dashboard since then it is showing following error error – This page isn’t working 127.0.0.1 redirected you too many times. validlogin.php web.php […]
Ravindra Kumar · 3:34 pm
Question I am developing a project in which i need to make the URLs of pages and when the user submits the title of pages and title’s space should be replaced with “-” so that it can be in correct format such as how-to-replace-space-with-dash-in-laravel Answer Sometime you might need to replace some thing with any […]
Ravindra Kumar · 4:51 pm