Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Laravel 5 如何以文本字段值的形式显示laravel数据,_Laravel 5 - Fatal编程技术网

Laravel 5 如何以文本字段值的形式显示laravel数据,

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

我试图以文本字段值显示laravel mmysql数据,我以表格格式显示,但我还需要更新该字段值,如文本字段值, 这是我以表格格式显示数据的代码

<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
@端部

您想在
输入
字段中显示
用户的数据,而不是在普通的
表格
行中?是的,我想以输入字段的形式显示数据。