skip to Main Content

I cannot show image in PHP

I'm new to PHP and coding in general, I already made the same lines of code in HTML and it worked fine but when i move it to PHP it wont load. <div class="left"> <div class="healy-logo"> <img src="/asset/healy-logo.png" alt=""> </div>…

VIEW QUESTION

Undefined variable $consultation – Laravel

I want display my data to my blade file but it show this error Undefined variable $consultation This is my controller public function p_consultation() { $consultation = Consultation::all(); return view ('dashboard/admin_panel/p_consultation')->with( $consultation); } This is my Route Route::get('dashboard/admin_panel/p_consultation', [PenconsultationController::class, 'Consultation'])…

VIEW QUESTION
Back To Top
Search