Welcome Guest. Please Login or Register  


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



Normal Mode | Print  

 using <?php inline in an HTML document, using <?php .. ?> inline does not work. Nothing happens (0 Replies, Read 8951 times)
RMan
Group: Member
Post Group: Newbie
Posts: 1
Status:
In  my HTML document I have the following:
<?php
    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:


<!--?php
  echo "Hello world";
?-->


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


Threads
 RMan   using <?php inline in an HTML document, using <?php .. ?> inline does not work. Nothing happens (0 Replies, Read 8951 times)

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 18, 2024, 11:54 pm.

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