app/Http/Controllers/HalamanData.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $tematik = Tematik::all();
        return view('tambah-data',['tematik'=>$tematik]);
    }
public function create ( ) { $ tematik = Tematik :: all ( ) ; return view ( 'tambah-data' , [ 'tematik' => $ tematik ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .