Could this have anything to do with my SQL?
Originally it had a few SQL statements that I didn't recognise that kept throwing up errors. Things like the word param before user_id and things like that.
When I have been trying to get this working I tried going into the SQL to test things but it wouldn't let me do anything as it didn't recognise these statements.
So now they arn't there.....