@if($fyp_profiles) @foreach ($fyp_profiles as $fyp_profile)
Profile Image

UserName: {{ $fyp_profile->username }}

Description: {{ $fyp_profile->description }}

Field: {{ $fyp_profile->field }}

Location: {{ $fyp_profile->location }}

Education: {{ $fyp_profile->education }}

@endforeach @else

No profiles found for this user.

@endif

FYP Projects

@if($fyp_projects) @foreach ($fyp_projects as $fyp_project) @foreach ($fyp_profiles as $fyp_profile) @if ($fyp_project->profile_image == $fyp_profile->image) @endif @endforeach @endforeach @else

No FYP projects found.

@endif