Corion,
thanks! I'll rememeber that for next time!
Right, basically that line is supposed to replace the value in server, which is blank, with nothing. I realise it wont do that now, but if I take it out it just says this now.
"Cant coerce arrays into has at line 39"
Most of the time the array will be blank, does that matter? Its still that line