Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

PolMac's avatar

PHPmyAdmin problem

Hi,

I have created a project and its hosted on localhost on my machine. I have three pages Booking, Admin and Ebook that all have connections to the DB. These were working fine, as in the links opened the blades as expected. I havent been near the project in a couple of weeks and now when I click on any of the links it brings me to the PhpMYAdmin dashboard and I cant find or understand why.

Routes

<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('index', 'CustomerController@index');

Route::get('faq', 'FAQController@index');

Route::get('booking',
    ['as' => 'booking', 'uses' => 'BookingController@create']);
Route::post('booking',
    ['as' => 'booking_store', 'uses' => 'BookingController@store']);

Route::get('ebook',
    ['as' => 'ebook', 'uses' => 'EBookController@index']);
Route::post('ebook',
    ['as' => 'ebook_store', 'uses' => 'EBookController@store']);


Route::get('/', 'HomeController@index');


Auth::routes();

Route::get('/home', 'HomeController@index')->name('home');



Any help would be greatly Appreciated

Pól

0 likes
1 reply

Please or to participate in this conversation.