hervor Posted December 2, 2010 Share Posted December 2, 2010 so I am a beginner and have this very beginner-level PHP doubt. I have some basic code which is supposed to fetch the contents of a table and then display them in a table. What it's actually showing is the PHP code itself, instead of the table contents, in the browser. I'm using WAMP When I searched the net reasons given were 1. using short tags, and 2. some configuration problem. I haven't used short tags, and my wamp installation was done a long time back. Moreover this problem is not occuring all the time, even when I run the same code. Many thanks if anyone can suggest anything helpful. Sorry if I posted in the wrong place (new here). Link to comment https://forums.phpfreaks.com/topic/220445-php-code-displayed-in-browser-sometimes/ Share on other sites More sharing options...
OldWest Posted December 2, 2010 Share Posted December 2, 2010 make sure your apache service is started when you do your testing. Link to comment https://forums.phpfreaks.com/topic/220445-php-code-displayed-in-browser-sometimes/#findComment-1142142 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.