Welcome to WebmasterWorld, php123,
I shall just be a little nit-picky here, but I think as it's justified!
As you are writing a php application, it would be nice to tell the parser that! When declaring a php file, apart from calling it afile.php you need to actually tell the parser that it's php that you are using! So, you opening line should be:-
<?
php error_reporting(E_ALL);//always good to know where you stand at compile time!
When doing this, it will make the document easier for the parser to differentiate between html & php, and this makes your application A LOT more compatible with more servers, as the short tag option is defined in the ini file; so different servers have different ini files, so when you come to migrate servers - this will eradicate any incompatibility cross server.
Hope that makes sense anyway, I have seen this stop scripts in their tracks because people have only used short form tags.
Also before attempting anything like this, read a tutorial and read up on spam prevention methods & data sanitising (cleaning user submitted data) before you set anything live, as doing this incorrectly can have nasty consequences if you leave yourself open to abuse.
Useful link to have.. [w3schools.com]
Cheers,
MRb