err, first thing first, try <?php echo "hello"; ?>
if it write hello, your server intreprets php ok, so the problem is elsewhere.
if not, it depends on your php server. if u'r using easyphp, be sure that it is started. in the taskbar, the icon shoul resemble to the letter "e" it a small red dot in the lower right. if it's not there, load the program. if the icon is there and the dot is blinking, the server is on. if not, right-click the icon and select start server or something of that sort.
if u'r not using easyphp, then if u have a network tech or administrator, i suggest getting in touch with him to confirm :p
i'm no expert, i only know the basics but this could help