BullGuard Antivirus Sale - 60% Off with openElement !
Forum Home Forum Home >

openElement

> openElement General Discussion
  New Posts New Posts RSS Feed - PHP code is being commented out..
  FAQ FAQ  Forum Search   Register Register  Login Login

PHP code is being commented out..

 Post Reply Post Reply
Author
Message
Avinoam View Drop Down
Newbie
Newbie


Joined: Aug 11 2019
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Avinoam Quote  Post ReplyReply Direct Link To This Post Topic: PHP code is being commented out..
    Posted: Aug 17 2019 at 8:31pm
Hi,

I am trying to insert php code into my page. I entered a new block code at startPage. But when I run it doesnt work. When I inspect the page I see that my PHP code has been commented out:

<!--?php
  
echo "Hello World!";


  ?-->

What is the problem here and how to fix this? Please provide details instuctions. I am a newbie..

Thanks.
Thanks!
Back to Top
Avinoam View Drop Down
Newbie
Newbie


Joined: Aug 11 2019
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Avinoam Quote  Post ReplyReply Direct Link To This Post Posted: Aug 17 2019 at 9:30pm
Ah... ok, got it - On page prefs must set Server Scripts to PHP. Thx anyway!
Thanks!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.