View Single Post
  #2  
Old 11-29-2009, 01:24 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 16,859
BMR777 is on a distinguished road
Default RE: Converting the Templates to PHP?

You won't be able to run PHP from the .html template file. The system doesn't work like that. What you can try is make a new template variable, such as :MYCODE: and place that in the template. Then in the adoptables script you do your queries and then use the template system to parse the final result into :MYCODE: so it appears in the template. :)
Reply With Quote