query I need help i want to display the patient who has the body temp more the 45 from the database i am getting the clue because it is in the relationship table
@foreach($tt->pto2 as $rt)
@if($rt->spo_2 >80)
<td>{{$rt->spo_2 }}</td>
@endif
@endforeach
´´´´
this is working but i need the value between them
´´´´
@foreach($tt->pto2 as $rt)
@if($rt->spo_2 >80 && $rt->spo_2 <6000)
<td>{{$rt->spo_2 }}</td>
@endif
@endforeach
````
Thank you for your great support I got the answer by another method hope helpful for other
Thank you Burlresearch Your idea is grate to implement in the Restful API
Please sign in or create an account to participate in this conversation.