Thanks chaps!!
That worked a treat, I just obviously wasn't asking the question in the right way with the mysql documentation, but my wording was understood here.
Sorry took so long to reply, posted the question before I went to work this morning.
thanks again!