This code allows you to dynamically create your tables using PHP code. It is perfect for a content management system where you do not know how many rows of data will appear at design time. The class allows you to easily add rows as they are needed without worrying about coding the table's HTML.
Version: n/a Platform(s): n/a Updated: Sat Oct 7 2006
Just a quick and simple web site demo. i use it for quick install, or as a back up site is i break the mysql. many reasons i wrote it. some web hosts don't have sql database. Another one is my site looks for mysql pages to load if it does not exist it looks for php pages, then static pages, if none are found it displays 404. This will cover the static page part of the function.
Version: n/a Platform(s): n/a Updated: Sun Feb 5 2006
This tutorial will explain and demonstrate how to use the ITX templating system from the PEAR collection of useful classes for PHP. As we go along, it'll show you some of the competitors, why the author didn't like them and why in the end he chooses to work with ITX in his own scripts. We will build a simple example script that will load and fill out the data out of a database. This script will use another PEAR component, a database abstraction layer. This tutorial assumes that you are familiar with PEAR's DB abstraction layer.
How to have a single file containg header information and use it in all other files?
It is very simple to do this using php.
Most of the commecrical website use common header and footer files. It will be so helpfull because when we want to change any information it is enough if we do it in a single file rather then duplicating it.
Version: n/a Platform(s): All Updated: Wed May 5 2004
This tutorial will show you the basics of using PHP with some simple Javascripting methods to create a drop down menuing system for your site.
This will teach you the simple tricks of using Javascripting with your PHP code in order to display simple yet effective drop down menus for your users.
Version: n/a Platform(s): n/a Updated: Thu Jan 29 2004
Let's pretend you have 10 pages in your site with the same design and you want to change a link in your menu. You would have to edit all 10 pages, right? Nope, there's a much quicker way allowing you to edit just one file and it's not as hard as it sounds. What we have to do is create a header file and a footer file. The header file contains all the HTML code for the top portion of your site. The footer contains the HTML for the bottom. Content goes between the header and footer. Let's get started...
Version: n/a Platform(s): n/a Updated: Wed Aug 27 2003
This tutorial will teach you have to make your site have the option to allow the users to choose the look and feel of the site using PHP, and MySQL wrapped around a HTML template. Doing this gives you more control of your site without having to recode all yout HTML inside your PHP scripts.
This tutorial explains how to identify IE4+ or NS4+ on a windows 32 bit platform (all else is "OtherBrowser") and include different html Web pages for different browser types using PHP.
Version: n/a Platform(s): n/a Updated: Sun Jun 29 2003
BM's DeveloperWorks website has a nice tutorial on Midgard. Written by David Seager, a software engineer at IBM, the article describes setting up a basic Midgard site. The article also does a good job of setting up a general context for what Midgard is and how it works.
Version: n/a Platform(s): n/a Updated: Sat Dec 28 2002
There are many different ways to create a template system in PHP. This tutorial will hopefully show you the basic understanding of this type of method.
Version: n/a Platform(s): n/a Updated: Mon Aug 5 2002
This article/column describes how to create a simple single table, single template content management system. It shows you how to make a powerful yet simple data driven website using <a href="http://www.hotscripts.com/Detailed/10112.html">DataMan</a>. You can put a site up in less than 30mins.
Version: 1 Platform(s): n/a Updated: Tue Jun 19 2001
The author writes "PHPLIB templates can grant you an amazing ability to abstract the manipulation of data (in the database as well as in PHP) from its final format, whether that format is HTML, XML, WML, or a formatted e-mail, and some of these ways will be explored here."
Version: n/a Platform(s): n/a Updated: Mon Mar 12 2001
Throughout two separate parts in this series, the author demonstrates step by step the fundamental principles of PHP in an original real-world Web site example. The Part 1 offers the basics of PHP and features a Webzine that includes an author's page where content providers can enter the text of articles, as well as a front end for presenting this content to the world. In Part 2 of this series, you'll be shown the delivery module presents a menu of stories to the reader, and how the authoring module permits authors to submit stories to a Webzine.
Version: n/a Platform(s): n/a Updated: Fri Feb 2 2001
Templates can bring order and structure to a web site. This article describes how templates can be used to control the page layout for a site that is currently composed of many pages of static HTML, using a popular template class and a new feature of PHP4.
Version: n/a Platform(s): n/a Updated: Mon Nov 27 2000
Isn't it great to go to a web site and it appears as though it was designed just for you. This 3-page article will help you design a web site which makes visitors feel like it was designed just for them using PHP and MySQL.
Version: n/a Platform(s): n/a Updated: Fri Nov 3 2000
Templates let you completely separate your PHP code from the HTML, which makes the HTML graphic designers very happy and keeps them from messing up your precious programming. This tutorial explains how to use PHPLIB Template in your PHP scripts. Main topics include: Using PHPLIB Template, Nested Templates, and Appending Template Text.
Version: n/a Platform(s): n/a Updated: Wed Jun 21 2000
One of the most powerful features of PHP is its ability to reduce the amount of site maintenance you need to do. By setting up a consistent site template, you can reduce the effort needed to create new pages, and you can also make it much easier to change the design of your entire site. This tutorial takes you through a simple example of how to set up and access a site template.
Version: n/a Platform(s): n/a Updated: Wed Feb 16 2000