• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
O
O
ortsuev332019-11-12 21:32:46
Laravel
ortsuev33, 2019-11-12 21:32:46

Is it ok to take an array and iterate over it?

return redirect(route('add'))->with('status',[$fails ]);

I accept
@foreach (session('status') as $k)
$k
@endroreach

Or are there better options?

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

0 answer(s)
Similar questions
O
onlinejunior2020-07-11 12:21:49
How to check data by condition in validate in laravel? 1Reply
C
chelkaz2016-03-01 00:28:18
Laravel When there is an error in the template name, it catches status 500 and a white screen. And you can't find the error? 0Reply
A
Artem00712018-07-19 19:03:08
Is it correct to insert data like this? 1Reply
Y
Yurka Blokhin2018-07-20 14:09:56
Selecting two fields at once in Laravel? 0Reply
T
TAnonim2018-07-23 15:22:15
How to implement "remember me" option on multiple devices for one user? 0Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners