Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
@foreach($staffUser as $value) @if(!empty($buyproduct['p_sold_by_id'])) ..
Decoded Output download
<? @foreach($staffUser as $value)
@if(!empty($buyproduct['p_sold_by_id']))
@if($buyproduct['p_sold_by_id']==$value->user_id)
@php $selected = "selected"; @endphp
@else
@php $selected = ""; @endphp
@endif
@endif
<option value="{{$value->user_id}}" {{$selected}}>{{base64_decode($value->name)}}</option>
@endforeach ?>
Did this file decode correctly?
Original Code
@foreach($staffUser as $value)
@if(!empty($buyproduct['p_sold_by_id']))
@if($buyproduct['p_sold_by_id']==$value->user_id)
@php $selected = "selected"; @endphp
@else
@php $selected = ""; @endphp
@endif
@endif
<option value="{{$value->user_id}}" {{$selected}}>{{base64_decode($value->name)}}</option>
@endforeach
Function Calls
None |
Stats
MD5 | 577315588ea034bd319e4115d55c33f2 |
Eval Count | 0 |
Decode Time | 39 ms |