0

I’ m trying to handle a db created by xampp through html, css, php. I had no particular problem so far (that means that my html files created by notepad++ were using php script and php files as they should) until yesterday.

So, suddenly it seems that all my php scripts are not recognizable to be executed. Even the simplest ones, ex:

<!DOCTYPE html>
<html>
<body>
I can read only this!!
<?php
$foo = “foobar”;
$bar = “barbaz”;
echo “foo is $foo”; 
?>
</body>
</html>

When I open the html file with my browser (Chrome, Edge, Mozilla), on monitor appears "I can read only this!!". It should appear: "I can read only this!! foo is foobar" .

Machavity
  • 29,816
  • 26
  • 86
  • 96

0 Answers0