Jump to content

Php code displayed in browser sometimes


hervor

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.