Jump to content


php and smarty help

  • Please log in to reply
No replies to this topic

#1 dowling.michael

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 23 April 2006 - 05:19 AM

Hi i am developing a site using php and smarty templates, im wondering if its possible to call a function in my php file from my smarty template, the php file is not a class or anything its just a normal file, it looks like this:





function test() {
print "hello";



is it possible to call that function from within the template file if so, how? or would i have to move it to the template file to call that function?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users