Hi guys. I am using laravel 5.7 and in my controller.
public function index()
$this->x = 22;
public function other_index()
When I call other_index() function variable x return null. How to fix it?
Please sign in or create an account to participate in this conversation.
Use Markdown with
GitHub-flavored code blocks.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!