I struggled with whether or not this is a configuration question. I've tried about everything I can do. The php code is perfect. I've quad-checked it, but when I run the .html, the php code shows in the resulting page. I just recently installed a server on my computer, and tried to get it set up so that I could test the php locally, but I'm thinking I have a configuration problem. I have had some .html code run perfectly, but it just started showing the code recently, as in, over the past couple of days. I haven't used any new software or anything to write the code. I'm just very confused.
I used the WAMP5 installer with Apache 2.2.6 and php 5.2.5 and mySQL 5.0.45. I thought it was supposed to configure for you, but something is definitely wrong.
I appreciate any and all attempts to help me, and thank you very much in advance.
Tony
php code shows in webpage...
Moderator: General Moderators
Re: php code shows in webpage...
rename your .html to .php
that helps...
that helps...