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.
Simple tutorial showing how to use the function include for simplifying your Web page authoring. Useful for header and footer insertion for multiple pages.
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.
If you want to seperate PHP from HTML, you need some kind of template engine. vlibTemplate is a template engine. vlibDate easily adds and substract date values. You can format date values in different languages (german, english, french, spanish and so on). All examples are written in english. The tutorials are written in german and english. The tutorial will teach you how to use template variables, blocks and loop structures. It will give a short example of modular programming. Some simple and more complicated examples are provided. You will learn how to use vlibTemplate with MySQL, too.
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.
This tutorial details the steps involved in installing the Perl module HTML-Template on a non-standard Linux directory. This type of installation is necessary when you have no access to root.
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.
User Personalization is a must-know and must-have for any site thats wants to make it somewhere. It customizes the user's experience, causing them to just plain 'like' your site better. Learn the basics of making such as system in PHP.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris