Здесь я не могу получить детали соответствующей строки в текстовое поле формы.
Моя страница просмотра «userAdmin.blade.php»:
@extends('app')
@section('content')
- Home
- user information
View/Edit user information
Select User :
User ID
User Desc
Contact Name
Contact Email
Time Zone
Active
Last Login (GMT+05:30)
Actions
{{--{{ UserController::getIndex() }}--}}
@foreach($name as $nam)
{{ $nam->userID }}
{{ $nam->description }}
{{ $nam->contactName }}
{{ $nam->contactPhone }}
{{ $nam->timeZone }}
@if($nam->isActive == '1')
Yes
@else
No
@endif
{{ date('Y/m/d H:i:s',($nam->lastLoginTime)) }}
{{--@if ( in_array($nam->isActive, array('Yes','No')) )--}}
Action
Toggle Dropdown
- {{--@if ($nam->isActive == 'Yes')--}}
- userID }}">userID) }}">View/ Edit
{{--@endif--}} - userID)}}">Delete
@endforeach
{{$name->links()}}
Create a new User
New
$(document).ready(function() {
$('#example').dataTable();
} );
@endsection
И страница контроллера «userController.php»
Подробнее здесь: https://stackoverflow.com/questions/384 ... ysql-table
Мобильная версия