So it is working now or not?
When I said to take out the { I meant the one before the while loop because there's no point to it and it isn't closed either.
{ <---This one
...
Type: Posts; User: Faz
So it is working now or not?
When I said to take out the { I meant the one before the while loop because there's no point to it and it isn't closed either.
{ <---This one
...
Just a quick scan through it. As far as I can tell it isn't inside any method so try moving it before the } above it. Also you don't need the { before the while. Let us know how that works out.