2
I am new in the Lockable and I’m trying to call the variable as I saw in the video class but still giving error control
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class SiteController extends Controller
{
public function index(){
$teste1 = 1;
$bs = 12;
return view('site.Home.index', ['teste'=>$teste1] );
}
}
where I call
@extends('/site.Templede.templede1')
@section('title')
teste
@endsection
@section('body')
{{$teste1}}
ss
@endsection
@section('foot')
footer
@endsection
what mistake?...
– novic
of the indefinite variable
– Cyber Hacker