Which of the following can be used in views to print a message if array is empty?
Correct Answer: ul> @forelse ($names as $name) <li>{{ $name }}</li> @empty <li>Don't have names to list.</li> @endforelse </ul>
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Laravel Framework MCQ Questions