Reply to Re: Insert file html

Your name:

Reply:


Posted by dorayme on 07/10/07 02:58

In article <4692e1e3@news.orcon.net.nz>,
Alistair George <noname@xtra.co.nz> wrote:

> Hi.
> I realise I can make a page .php and include a file thusly:
> <?php include("thehomebooked.html"); ?>
> But this method makes the file appear at the top of the current page,
> when I wanted it below all the buttons and so on at the top.
> Is there an alternative, or better way to insert a file into preferably
> an html page?
> Thanks,
> Alistair.

Put your include exactly where you want it to be in the html. I
put my footer includes right at the bottom and my css does not
tell the footer to go anywhere but the bottom. I will put it
another way. When you put in the include, imagine you are putting
in the actual included text. Where the text would go, put the
include instruction (which basically is just a "please, php
engine, go fetch the following text and stick it in here - and I
mean literally here")

--
dorayme

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация