If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
PHP Template  XML
Forum Index » Support Forum
Author Message
Anonymous



How do you include php code in your template? For example i want to include print(date("n")) in header.php but this doesn't work, any ideas?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

If you are talking about the guestbook then you cannot. I have explained this in a different thread. Use the search function to find the thread in question as I gave a full explanation in it.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

If you want to include a file in header.php say include.php
just have in include.php echo "n";

Better yet try a site called WWW.PHP.NET !!!

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum