Welcome Guest. Please Login or Register  

You are here: Index > AMPPS > General Support > Topic : using <?php inline in an HTML document

Threaded Mode | Print  

 using <?php inline in an HTML document, using <?php .. ?> inline does not work. Nothing happens (0 Replies, Read 1486 times)
Group: Member
Post Group: Newbie
Posts: 1
In  my HTML document I have the following:
    echo "Hello Word";

I executed my code in  localhost/test.html    But the browser displays nothing.
I viewed source of the display and found that the browser had commented out the php code by doing this:

  echo "Hello world";

How do I get the php to execute ?
IP: --   

« Previous    Next »

Threaded Mode | Print  

Jump To :

Users viewing this topic
1 guests, 0 users.

All times are GMT. The time now is September 20, 2020, 11:51 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.144