Mr_Cat - 9:18 pm on Feb 11, 2012 (gmt 0)
Ah ha! Yea I'm just used to doing longer queries so I have the habbit of breaking them up into lines for readability even when they're hugely simple :)
It was the $result - $almost_desired_bit - $desired bit I was bothered about. array_shift is new to me but I see it just drops the ID from the beginning if I've understood it correctly.
Thanks! much sleeker.