Skip to content
Advertisement

Cannot passing data to views

I’m using laravel 8 to make pass data to views pages. Unfortunately i have error saying ‘ Target class [PagesController] does not exist’ on my browser So here’s my PagesController.php Web.php index.blade.php i want to pass the variable $title to index.blade.php but have error. Tried so many times but didn’t work Answer PageController.php index.blade.php for web.php

curl php not getting response

I’m trying to call 3rd party API with POST method using curl. But I’m not getting response instead I got this random character when I dump the response $data=array( “referenceId”=>$…

PHP Session Timing Out Soon

I am working on a PHP role based application in which I have to maintain session as well. once the user is logged in he will be redirected to his interface where I manage session as The user id and …

Advertisement