Hi,
I also often use for debbuging
var_dump($COURSE);
die;
to go step by step, it's far less elegant than the solution proposed by Mark. But my ide is notepad++ : )
And as Mike said the value is probably empty.
Hope it's help.
I also often use for debbuging
var_dump($COURSE);
die;
to go step by step, it's far less elegant than the solution proposed by Mark. But my ide is notepad++ : )
And as Mike said the value is probably empty.
Hope it's help.