PHP not working in html doco

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP not working in html doco

Postby Kifaru » 29. January 2008 00:16

Hey guys,

Xampp works great! everything installed great.
It was so easy!

I have one problem.
when i try and run an html file with php in it it dosn't display the php
checked html etc and it semms fine and the php part runs fine as a php document

<title> Testing PHP in HTML</html>

when i open this via localhost it is just a white screen.

any ideas or options i havn't done to get this to work?

any help would be great
Posts: 1
Joined: 29. January 2008 00:10

Postby Izzy » 29. January 2008 00:27

A file containing both html and php code should have a .php file extension.
Posts: 3344
Joined: 25. April 2006 17:06

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 87 guests