php braces and strings

dcboy

New Member
can anyone explain to me how to use the curly braces { } in php strings? like\[code\]"this is a {$variable}"\[/code\]
\[code\]"this is a {$user -> getName($variable);} name"\[/code\]
 
Back
Top