Templating assistance

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
facets
Forum Contributor
Posts: 273
Joined: Wed Apr 13, 2005 1:53 am
Location: Detroit

Templating assistance

Post by facets »

Hi Gang,

Code: Select all

include "i_template.php";

$content = "";

  $tmpl = new i_template();
  $tmpl->PAGE_TITLE = "Specification";
  $tmpl->CONTENT_HEADING = "Specification";
  $tmpl->print_template("main.template");
Last edited by facets on Wed Jun 08, 2005 4:53 pm, edited 1 time in total.
User avatar
thomas777neo
Forum Contributor
Posts: 214
Joined: Mon Mar 10, 2003 6:12 am
Location: Johannesburg,South Africa

Post by thomas777neo »

This is not an error. It merely says that there are certain variables that haven't been declared yet.

Either declare the stipulated variables or turn the E_NOTICE off in the php.ini if you have access to it, the restart your webserver.
Post Reply