When i do either of the two sets of code below i get an parse error and the resulting output doesn't show.
Surely there is a way of assigning a value to a variable, creating another variable to output the string, and then echo the variable (using the curly braces{} syntax)?
First Example
$name = "Jim ";
$show = echo "{$name}is my name";
echo $show;
Second Example
$name = "Jim ";
$show = echo "{$name}is my name";
Neither of the above work?