Laravel 5 如何以文本字段值的形式显示laravel数据,
我试图以文本字段值显示laravel mmysql数据,我以表格格式显示,但我还需要更新该字段值,如文本字段值, 这是我以表格格式显示数据的代码Laravel 5 如何以文本字段值的形式显示laravel数据,,laravel-5,Laravel 5,我试图以文本字段值显示laravel mmysql数据,我以表格格式显示,但我还需要更新该字段值,如文本字段值, 这是我以表格格式显示数据的代码 <table border=1 align=center> <thead> <tr> <td><h4>Name</h4></td> <td><h4>Phoneno</h4></td> <td><h4&g
<table border=1 align=center>
<thead>
<tr>
<td><h4>Name</h4></td>
<td><h4>Phoneno</h4></td>
<td><h4>Checkpost</h4></td>
<td><h4>Usertype</h4></td>
</tr>
</thead>
<tbody>
@foreach($profile as $user)
<tr>
<td>{{ $user->name }}</td>
<td>{{ $user->phoneno }}</td>
<td>{{ $user->checkpost }}</td>
<td>{{ $user->usertype }}</td>
</tr>
@endforeach
</tbody>
</table>
@endsection
名称
菲诺
检查站
用户类型
@foreach($user作为$profile)
{{$user->name}
{{$user->phoneno}
{{$user->checkpost}
{{$user->usertype}
@endforeach
@端部
您想在输入
字段中显示用户的数据,而不是在普通的表格
行中?是的,我想以输入字段的形式显示数据。