robin_percy wrote:Also, is there a reason you're prefixing your variables with @?
'Tis the short-hand method of writing out all the "if(isset($_POST...))" junk to suppress errors. Not sure if it's a very preferred method, but I use it as well.
Also, when posting PHP code... make sure to use the forum's [ PHP] tags! Makes it easier to read.
Other than that, robin seems right on the money.
EDIT: Actually, you're also missing some semicolon's after all of your echo() calls to fill in the values.