Answers
I have solved the problem. First the
if($signups):
needed to be changed to
if(!$signups->isEmpty()):
because it's a collective version of php array.
Also the
if($teamsId) {
needed to be
if(!$teamIds[0] == '') {
But I got an error Undefined variable $sortorder because in the $teamIds there were a $sortorder = 0; missing. Here in Laravel 9 it was necessary obviously.
So for now, I'm glad and I want to thank you all for your help and effort.
0 comments:
Post a Comment
Thanks