Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 php include issue

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Martin1 Posted - 28 Dec 2007 : 13:17:23
I am trying to get a php include page to work. It's a rather simple piece of info that I want to include into every page (I am including an image and a date which you can see at the bottom right).

But when I include it, it screws up my page by moving the entire page to the right and also kills my png image at the bottom left.

The way it should be (this example is without the php include):
http://www.isis-books.nl/index.html

the way it is with the php include:
http://www.isis-books.nl/test/index.php

Does anyone know what is going wrong?

Martin
5   L A T E S T    R E P L I E S    (Newest First)
Martin1 Posted - 07 Jan 2008 : 14:47:49
Thanks Petran!

My bad[2 H:)].

Martin
Martin1 Posted - 07 Jan 2008 : 14:46:17
Thanks Petran!

My bad[2 H:)].

Martin
petran Posted - 29 Dec 2007 : 01:13:29
It seems to me that your "datum.php" file comes complete with html, head and body tags. This might cause your problem. In the HTML box you only need to place the PHP code within the <?php......?> tags. Ofcourse you can include this code, but the "datum.php" file should not have the html, head and body sections.
Martin1 Posted - 28 Dec 2007 : 14:38:17
Maybe I am misunderstanding but I did use a html box in which I put the following:

<?php include("datum.php"); ?>

Martin
s.dav Posted - 28 Dec 2007 : 13:55:58
Martin, I suggest you to use an HTML box and put the php code inside it.
If your problem persists please let us know the code generated by the php.

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000