And you don't even need the braces most of the time! For instance, "$file/$user.txt" works fine. The braces are required when you need to specify exactly what the variable name is because the next character could be interpreted as part of the name. For example, "$file_640x480.jpg" might need to be written as "${file}_640x480.jpg" unless you have a variable called $file_640x480.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: An easier way for connecting strings.
by sauoq
in thread An easier way for connecting strings.
by Warlord
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |