What difference is between replace and content?

In my example I want to add after "price" variable EURO sign. But maybe better way to do it is just add to "price" variable this sign in PHP, before sending it to phptal template:
<?php $price.=' &euro;'
$main->price=$price;?>

And better is to use entities (&euro;) or entites after parse (EUR) in php/tamplates?


cheers,
szymek


_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to