Go Back   vBulletin Modification Discussions > vBulletin Discusions > vBulletin Modifications
Home Register FAQ Members List Calendar Mark Forums Read
vBSEO Info Tags

About This Page: This is a discussion on run php code in tpl file within the vBulletin Modifications forums, part of the vBulletin Discusions category, at vBulletin Modification Discussions. Hi guys, I need to display data queried from the db in table form. I tried to use php code in the tpl file I created using the admincp, but it does nothing, I guess no php allowed in tpl


Reply
 
LinkBack Thread Tools
Old 11-05-2007, 11:19 PM   #1 (permalink)
Junior Member
 
Join Date: Jul 2007
Posts: 6
patjay15 is on a distinguished road
iTrader: (0)
Question run php code in tpl file

Hi guys,

I need to display data queried from the db in table form. I tried to use php code in the tpl file I created using the admincp, but it does nothing, I guess no php allowed in tpl file

How can I do this? any suggestions guys?

Thanks in advance.
patjay15 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links

Old 11-09-2007, 10:25 AM   #2 (permalink)
Junior Member
 
Join Date: Nov 2007
Posts: 1
class101 is on a distinguished road
iTrader: (0)
Re: run php code in tpl file

Hello dude,

You may look this link

How to Include a PHP or HTML File - vBulletin Community Forum

the second part called Including a PHP file

Let me know if you need much informations but all is already very well explained on the link.
class101 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-11-2007, 09:45 PM   #3 (permalink)
Junior Member
 
Join Date: Jul 2007
Posts: 6
patjay15 is on a distinguished road
iTrader: (0)
Re: run php code in tpl file

Thanks man. Question answered!
patjay15 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply
Tags:





Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


A vBSkinworks Design Recoded By vBModder.
All Code Distributed On This Site is © 2006 by it's author.
Search Engine Optimization by vBSEO 3.1.0

All times are GMT -7. The time now is 06:00 AM.
Online Users 45
Registered 2
Guests 43
Members 3145
Active Members 229
Threads 1583
Posts 7000
Top poster: Code Monkey (2194)
Welcome to our newest member, skopy
Most users ever online was 235, 04-11-2007 at 08:59 AM.
Speak Out! vBulletin gets the web talking!


vBulletin Setup SEO

vBulletin graphics resource images