Adding an underscore to the end of a variable does not work
Posted: Sat Mar 05, 2011 2:40 pm
Code:
Outputs:
Code: Select all
$destUser = "theUser";
$destDBUser = "theDBUser";
echo "$destUser_$destDBUser";nottheDBUser
Adding the underscore after the variable inside quotes supresses the variable in some way. Why?theUser_theDBUser