This my sample 'publications' table structure. Currently, I am using the following code to view values.
@foreach($publications as $publication)
{{ $publication->title}} - Author: {{ $publication->author }}
@endforeach
Above code give me the following result.
Here, the titles of the first and third rows are the same. So I would like to merge them including the author as follows.
введите описание изображения здесь Помогите, пожалуйста, решить эту проблему. Заранее спасибо.