How can I append a variable to a variable to make a new variable? To clarify, here is a simple example to try to get php to print the word, "dog."
<?php
$phrase1 = 'cat';
$phrase2 = 'dog';
$append = '2';
##but the following does not work:
echo "$phrase.$append";
##and neither does this:
echo "$$phrase.$append";
?>
If the above doesn't make sense, I can clarify more 🙂