Missing close tag ?>

You were missing the ?> maybe?