Possible Duplicate:
What does the 'period' character (.) mean if used in the middle of a php string?
Why are the periods included in the code that follows?
require("mod/" . $modarrayout . "/bar.php");
Obviously, it's because the variable is between strings, but shouldn't the quotes have taken care of that? PHP
In PHP, the period is the concatenation operator. Putting the periods in tells PHP to concatenate "mod/"
to $modarrayout
and then concatenate the resulting string to "/bar.php"
. See page String Operators.