Im trying to learn Laravel framework and having trouble with getURLList();
In the tutorial that im following it says.
class StudInsertController extends Controller
{
public function insert(){
$urlData = getURLList();
return view('stud_create');
}
But the getURLLIST(); comes back as
Call to undefined function App\Http\Controllers\getURLList()
And i dont find any information about that. Is it because the tutorial is for older version of Laravel?
The link to the tutorial itself is here:
https://www.studentstutorial.com/laravel/insert-data-laravel
Can somebody point me in the right direction.
Read more here: https://stackoverflow.com/questions/66275786/learing-laravel-and-have-problem-with-geturllist
Content Attribution
This content was originally published by Jsaar at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.