It’s elseif
, not else if
(notice the space). The error is because the interpreter expects an end
to each else
block.
See the manual for more information.
It’s elseif
, not else if
(notice the space). The error is because the interpreter expects an end
to each else
block.
See the manual for more information.