@if(count($singlesport) != 0)
	<p>Singles</p>
	<table id="myTable" class="table table-striped table-hover">
		<thead>
			<tr>
				<th>#</th>
				<th>Player Name</th>
			</tr>
		</thead>
		<?php $i = 1 ?>
		<tbody>
			@foreach($singlesport as $single)
			<tr>
				<td>{{$i}}</td>
				<td>{{$single->player_name}}</td>
			</tr>
			<?php $i++; ?>
			@endforeach
		</tbody>
	</table>
@endif

@if(count($doublesport) != 0)
	<p>Doubles</p>
	<table id="myTable" class="table table-striped table-hover">
		<thead>
			<tr>
				<th>#</th>
				<th>Player Name</th>
			</tr>
		</thead>
		<?php $i = 1 ?>
		<tbody>
			@foreach($doublesport as $single)
			<tr>
				<td>{{$i}}</td>
				<td>{{$single->player_name}}</td>
			</tr>
			<?php $i++; ?>
			@endforeach
		</tbody>
	</table>
@endif