|First of all, is the rest of the server set up properly and working? Can you make index.html with "Hello World!" in it? Once you've established that HTML works OK, see if PHP is running. Can you run this .php script:|
<?php phpinfo(); ?>
and it confirms that PHP is up and running? If not, go back over the setup instructions and see what you missed on setting up XAMPP. If PHP is running, show us your script that doesn't run. Are you running it from the right place? Do you get any error messages?