Comunitatea PHP Romania
 

 
cat

cat

This value is concatenated to the given variable.

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

Example 5-3. cat

<?php

$smarty
->assign('articleTitle'"Psychics predict world didn't end");

?>

Where template is:

{$articleTitle|cat:' yesterday.'}

Will output:

Psychics predict world didn't end yesterday.

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Cheap Flights | Loans | Loans | Cheap Flights | Debt Consolidation
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis