Variable transform? how?


#1

I would like to take an existing variable in some code called $userid and be able to have another variable called $userid2 which would be the value from $userid with a 2.

If $userid ends up being “SatanCow” I want to then make $userid2 = “SatanCow2” how would i do this?


#2

[php]
$userid = “SatanCow”;
$userid2 = $userid.“2”;
[/php]