Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Databases _ NEED HELP...

Posted by: LmNt~oX May 21 2007, 08:36 PM

i am writing a website in html using Kompozer for Ubuntu ver Fiesty Fawn (7.04) that might not be applicable; but non the less i am trying to make a section on my index.html that when it loads, as apposed to having the text written into the HTML i want either a form or table to access a txt file i know it can be done i am just unsure on how to do so... any help would be much appreciated biggrin.gif because i have been more frustrated than i would like to admit blink.gif if you have msn you can either email me or chat with me at lmnt.ox@gmail.com

Posted by: pandy May 21 2007, 10:02 PM

Server Side Includes (SSI), PHP inludes...
http://htmlhelp.com/faq/html/design.html#include-file

Posted by: markei Oct 31 2007, 01:53 AM

QUOTE(pandy @ May 21 2007, 11:02 PM) *

Server Side Includes (SSI), PHP inludes...
http://htmlhelp.com/faq/html/design.html#include-file

If you just want a section of your site to change, use an include, which can be very useful, such as using a single template page and sending a variable name that designates an include file name - here's a page that describes includes in php:
http://php.about.com/od/advancedphp/ss/include_files.htm
- but if you need to order your data, you may want to use a database.
You can use a "Flat File" database for a php site, which is a database in a text file.
One example here, you can Google for more examples:
http://www.designdetector.com/archives/04/10/FlatFileDatabaseDemo.php

Hope it helps!
markei

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)