[PHPTAL] concatenate string

anru chen ctx2002 at gmail.com
Mon Aug 4 01:11:10 CEST 2008


Hi all:

suppose i have a object person

person->id = 1;
person->name=xxxx;
person->email = "who at email.com".

my question is how can i do some thing like this:

<button name="sub" value="" ><button>
I want to set the button value equal to person/id . "_". person/name (1_xxxx)

regards



More information about the PHPTAL mailing list