->with('success'
return redirect()->back()->with('message', 'IT WORKS!');
Displaying message if it exists:
@if(session()->has('message'))
<div class="alert alert-success">
{{ session()->get('message') }}
</div>
@endif
Also in PHP:
- Allowed memory size of 1610612736 bytes exhausted (tried to allocate 40 bytes) in phar:///opt/cpanel/composer/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php on line 129
- Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0". when php is 7.4
- check if value exists in array key php
- How to handle max time of execution
- exception ph
- ReactPHP
- Route [login] not defined.Route [login] not defined.
- current time input field in laravel form
- age date de naissance php
- apache php default date format 4 digits
- check my version of composer
- different elements of array php
- after for each loop in php
- PHP header(refresh)
- date math sql php
- add zeros in front of number php
- php random string generator
- define header in php
- ADD OR ON SWITCH CASE PHP
- create database backup programmatically php
- Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\PPETrackerApp\email.php on line 21
- date format change in laravel blade
- create qr code png image of 200*200 using phpqrcode
- convert base64 to image php