Use the "PHP" button above when posting code. The "code" tags don't seem to work properly, but the "php" tags seem to work fine.