Welcome to PHPBuilder.com! Please use the boards [NOPARSE]
...
[/NOPARSE] tags as they make your code much easier to read and analyze.
What did you do wrong? How do you know something is wrong? If its not doing what you expect, then you should tell us what you expect and what happens instead. If its giving you an error you should tell us what the error is. You have not even bothered to include a body with this post, just some code.
It would seem to be a simple syntax error, which would be reported if error_reporting was turned on and displays_errors (development) / log_errors (production) was turned. You are missing semi-colons after each echo.