I wholly agree.
Unfortunately, I’m a designer, not much of a PHP programmer, so my grasp of PHP syntax is admittedly poor.
I’m not suggesting that this code is wrong — I’m just trying to see an example of this code in the context of a full loop (again, perhaps I’m using the wrong terminology) so I can see how I’m supposed to properly close it, etc…