How to make this page display!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Dangmnx
Forum Newbie
Posts: 1
Joined: Wed Jul 09, 2008 12:10 am

How to make this page display!

Post by Dangmnx »

okay guys! i have a question.

my website is http://www.dangmn.net and i am currently using an Iframe for my blog, i want to know if there is a way to make my blog display without using the Iframe!

i even tryed copying and paste the code below into the <body> </body> section of my html but it still doesnt work.


<? $tpath = "/home/dangmnne/public_html/dn/news/"; include($tpath . "news.php"); ?>




did i do something wrong??
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: How to make this page display!

Post by Benjamin »

The code which outputs:

Code: Select all

 
<td><p align="center"><IFRAME SRC="http://www.dangmn.net/dn/news/news.php" WIDTH=545 HEIGHT=768 FRAMEBORDER=0 SCROLLING=auto></IFRAME></p></td>
 
Would need to be changed to output the data in news.php.
Post Reply