How to imply php codes and Iframes
-
Hey, I been trying all morning to figure out what I am doing. I made another page for a php code. When I made the page, I hit the html part for the script on making the page and entered the php code I wanted to use.
When I add the include code, it doesnt show up. Nothing shows in preview, on the page it self or the window where I you edit things. I looked at the html and it’s there.
So I went and made a php page ceprate from the script and the code works. So its something with the script/edit porstion where you creat the page I am thinking. NOT SURE!
Code I was trying (I edited the page and put in text for the url)
<? @include(“url to the page”); ?>Then I tried to call it a different way. Made a php code added the code above to it and in wordpress page editor I added, <!–#include file=”filename.php” –>
Still nothing. Any help would be great. I was wondering if there is a way to edit the page without using the script editor at all. Maybe thats what is messing with the php codes? Not sure. But I can’t even find the page on the server to edit it. So I am at alost…
I also tried to use an ifram command. Ceprate issue.. But When I add it, it works BUT the page is all messed up. The eiditor takes out the </iframe> that is after the code. So then it just ends the page after the iframe it self.
I really don’t like this editor thing. I am thinking cause I was having so many problems with the Iframe, maybe the php code isnt working cause of it also?
I really like wordpress. So any help would be great.
- The topic ‘How to imply php codes and Iframes’ is closed to new replies.