Great. I edited this and got it to set the %var right. But where do I put the command for when it's done setting the var? When its set the var with all the table rows, i want it to echo that var. But when i put the echo command in the code it is executed for every row. Where do I put the echo command in that code to make it run only once the var is all set?

-- HAMM3R (aka: alhammer)