Doh I didn't scroll all the way down when I added the quotes code, knew I should have used my own connection parameters and not the ones in the code I found. Well it should be fixed now. Thanks for catching that.