laravel-5

    0

    1답변

    세 가지 모델이 있습니다 : Post, List 및 PostList (피벗)입니다. DB 세 테이블 : post (post_id, ...), list(list_id, ...), post_list(post_id, glist_id(In fact it's id of list))이 있습니다. - public function list() { return

    2

    1답변

    CRM에 계정을 만들고 암호를 해시했습니다. $account->password = bcrypt($password); 는 내 웹 사이트에 좀 가드와 공급자 만들었습니다 'guards' => [ 'web' => [ 'driver' => 'session', 'provider' => 'users', ],

    1

    1답변

    오늘이 코드와 관련된 다른 질문을합니다.이 문제는 해결되었지만 이제는 다른 오류가 발생합니다. public function addSubject(Request $request){ $student=User::find($request->invisible); $classsubjects = $request['classsubjects'];

    0

    1답변

    내 route을 덮어 쓰려면 여기 제공된 조언을 따르고, 내 자신의 helpers.php을 생성하고 부트 스트랩에로드하십시오. 그것은 phpunit을의 브라우저에서 잘하지만 너무 많이 작동합니다 PHP Fatal error: Cannot redeclare route() (previously declared in /var/www/vendor/laravel/f

    2

    1답변

    글쎄, laratrust를 사용하여 내 응용 프로그램의 역할과 권한을 처리하고 있습니다. 등록 할 때 사용자에게 역할을 첨부하고 싶지만 laratrust 문서를 읽은 후에 문제가 무엇인지 알아낼 수 있습니다! 여기에 내 코드 내가 오류 알 수없는 쿼리 빌더 attacheRole를 얻을 수 위의와 public function register(Request $

    0

    2답변

    Laravel의 이전 버전에는 autoload.php 파일이있었습니다. Laravel 5.5을 설치 한 후 해당 파일을 찾을 수 없습니다. 이동되었거나 삭제 되었습니까? 모든 작곡가 프로젝트처럼

    1

    1답변

    I am using response from xml server. I am trying to display the different detail view when each BUtton is pressed respectively.When the Button is pressed, I want to send the Id of each button to the d

    1

    3답변

    검색을 시도하고 있으며 1,4 상태의 사용자 만 반환하려고합니다. 비록 내가 이것을 사용하려고 시도하더라도, 그것들은 모두를 붙잡고 나의 마지막 부분을 무시합니다. $officiants = Officiant::where('status',1) ->where('email', 'like', '%'.$item.'%') ->orW

    0

    2답변

    내가 볼 수있는 매개 변수 $ 질문을 통과 할 을 볼 컨트롤러에서 오류를 전달하지만, 다음과 같은 오류를 제공합니다 : ErrorException (E_ERROR) Undefined variable: questions (View: C:\Users\Krishan\Documents\GitHub\GroupProject\lcurve\resources\views\q

    0

    1답변

    나는에 사용하기 Eloquent 쿼리의 출력 형식을하려고에서 배열을 만들 Highmaps 내 코드 : $regsByCtry = $regsByCtryArr->pluck('ctry', 'val')->map(function($country, $value) { return [ "hc-key" => $country, "value" =>