I finally figured it out. I used PHP to calculate the length of the items, add them together, and see if that is more than what each column can hold. If it is, it will make another column. Fancy huh. This post is from -- http://socoder.net/index.php?topic=1441