Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 3 matches
Smarty Forum Index
Author Message
  Topic: print value of php function in a Smarty template
sempere

Replies: 2
Views: 5808

PostForum: General   Posted: Sun Jul 19, 2009 3:10 pm   Subject: print value of php function in a Smarty template
I tried it so, but it continues raising a fatal error: unrecognized tab myfunction($foo).
  Topic: print value of php function in a Smarty template
sempere

Replies: 2
Views: 5808

PostForum: General   Posted: Sun Jul 19, 2009 11:44 am   Subject: print value of php function in a Smarty template
Hi!

I have a php function that returns a string, and in the template, on one hand I would like to compare this value and on the other, I would like to print it.

I can do the compare ( { if myfu ...
  Topic: Printar valor función php
sempere

Replies: 2
Views: 14054

PostForum: Language: Spanish   Posted: Fri Jul 17, 2009 11:33 pm   Subject: Printar valor función php
Buenas.

Antes de nada, avisar que soy novato...

El tema es que tengo una función php que me retorna un string, y desde el template quisiera printar el valor por un lado, y hacer una comparación ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP