Last summer my husband built raised beds out of Trex, the deck material.  They turned out really well, and a few days ago I posted this pic on The Easy Garden Forum.  If you click over to there in the  course of a few pages my husband and I answer questions about how they were built.