PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 09-29-2003, 05:59 AM   #1
jirving
Green Mole
 
Join Date: Sep 2003
Posts: 10
PHP includes in Template?

Can we have any php code in the templates file. I suspect not since it is an XML file.

Our site is broken into several parts and assembled using php includes. I would like to see the template updated along with any content on the rest of the site.

Thanks
jirving is offline   Reply With Quote
Old 09-29-2003, 02:37 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. PHP cannot be in templates directly, but there are two methods for including PHP in templates via the PhpDig tags here.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php includes template info 5wayshost Coding & Tutorials 0 12-31-2006 09:59 PM
Themes and PHP Includes Arctic Troubleshooting 3 05-07-2005 08:21 PM
PHP includes in templates gman How-to Forum 14 12-03-2004 10:02 PM
Creating a .php Template Instead of .html Destroyer X How-to Forum 25 07-29-2004 09:53 PM
Apache includes in a template sgreen Mod Submissions 0 06-17-2004 03:44 PM


All times are GMT -8. The time now is 01:22 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.