Web page hosting and cheap domain registration register services
 

Sponsers:

 

 

 

Smarty Manual
PrevChapter 5. Variable ModifiersNext

cat

Parameter PositionTypeRequiredcatDescription
1stringNoemptyThis value to catenate to the given variable.

This value is concatenated to the given variable.

Example 5-4. cat

<?php    
$smarty
= new Smarty;
$smarty->assign('articleTitle', "Psychics predict world didn't end");
$smarty->display('index.tpl');
?>

Where index.tpl is:

{$articleTitle|cat:" yesterday."}

This will output:

Psychics predict world didn't end yesterday.

PrevHomeNext
count_charactersUpcount_paragraphs
 

 

 

 

Search engine submission by Seosubmit.com | Cheap domain by Cheap Domain Registrar  

Disclaimers: This document is provided as free service for the benefits of Active-Venture.com's web hosting customers only.

 
Quotes: The only difference between a problem and a solution is that people understand the solution.