PHP wants() and needs ;

The code was missing a couple of semi-colons and PHP probably wants brackets where other languages might not.