Have actually just found a way of doing it that is really easy so i though i would put it up for anyone who is interested. If you need to exclude something such as the ID of the current page from a MySQL statement then just add something like WHERE ID != $post->ID
when selecting something something using MySQL. If you don’t know your MySQL != stands for not equal too (just in case). Hope this helps anyone else who had this same problem.