Log in

View Full Version : Will PHP work in an XHTML script?


sonichero
05-22-2007, 05:12 AM
Im trying to get a flash media player to work, which uses an XHTML script for the locations of the songs and track names, etc. If that is placed in my forum directory will things like <track>$viaprofile[track1]</track> work correctly?

Appreciate any help!

Dismounted
05-22-2007, 09:20 AM
No, PHP code will NOT work in your HTML unless you have Apache configured to parse .htm as PHP.

Just a side note, HTML isn't a script :).