Ok I think this is rather basic.. How would I do if I want to devide a value in a column with a value in another column in a table? I want to devide the value in my column "vote_sum" with the value in "vote_tot",so that I get an average value and echo it. I'm not sure how to do this..//thanx