Blade Check if variable is in Array
I am a little stuck with a blade template, I need to check if a variable is in an array, how would I do this? The array can vary in length. If the value is found in the array I need to output a string.
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!