I am wondering, What is the proper way for inserting PHP variables into a string? This way:
echo \"Welcome \".$name.\"!\" >
It only matter of taste. Use whatever you wish.
Most of time I am using second one but it depends.
Let me suggest you also to get yourself a good editor which will highlight a variable inside of a string