Ok, a couple of things, if you are inside of a php bracket then remove the double quotes from around the variable. It should read echo $name; not echo "$name".
Also check to make sure you are really inside of a php block with an opening and closing php tag, <?php ?> or the shorter <? ?> tag.
You also need to make sure that you are inside of an HTML tag. ie: your code here .
It sounds to me like the latter is the problem, from your last post it seems that the variable is being expanded by php but if you are outside of you html tags then the browser will interpret the <STRONG> tags, it will just render text. As if you were browsing a directory.
What you are trying to do and what I do works fine for me all the time. If you are outside of the HTML tags the browser will just assume that you want the text rendered, and not take note of the tags in your variable.
John