how can i solve this problem ?

Re: how can i solve this problem ?

by Glenn Brown -
Number of replies: 0

Here's the answer: I found it in another forum for a similar problem.

before the foreach statement add if ($students) like it is shown below

if ($students)
  foreach ($students as $student)