Thanks! It works! (it looks so obvious now, that I think I must visit an ophthalmologist...)
And how do I get a record? These don't work:
$t=$myTeam ->find($id);
$t=$myTeam ::find($id);
Maybe I'm doing it the wrong way.
What I want to do is change table of a Model, dynamically.
Is this the correct way?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community