Switch statement not working

Hello.

I am having an issue with a switch statement; http://pastebin.com/ReqJHetp .

The assignments are not working. I’ve never used this in PHP before, so do tell me if its something trivial. All of the attributes turn out empty, despite the var_dump showing the query retrieved the necessary entries.

So did you fix it?

As this is part of a greater class (you refer to $this->) it is probably better if you show the whole class.

I figured as much, I had overlooked that.

Thanks anyhow.