Current Page: 1 of 1
Results 1 - 3 of 3
9 years ago
abrooks
Oh, I think I get it and its counter intuitive - me at least. The file must just have a PHP extension. The contents will remain HTML but because in has PHP tags as well Apache needs that extension as a clue to hand off when needed. Sorry, this was not a WampServer configuration issue. But thank you.
Forum: WampServer English
9 years ago
abrooks
So then <?php ... ?> Tag in an HTML file is not treated by Apache? Well, at least as far as the output I did get, Apache is confused by it. I'd like to write HTML that is augmented with PHP - not solely PHP. According to the tutorials at w3schools this should be a common thing. Is there no way to have Apache cooperate other that making everything PHP. This seems odd.
Forum: WampServer English
9 years ago
abrooks
3. No PHP
I'm having trouble with PHP output. I'm not sure if I've installed or configured WampServer correctly I copied the following from <!DOCTYPE html> <html> <body> <?php $x=5; $y=6; $z=$x+$y; echo $z; ?> </body> </html> to my Index.html. I get no output - a blank web page. The "Run Example" button at w3schools shows "11&q
Forum: WampServer English
Current Page: 1 of 1