add string and variable in php code example Example: append variable into string php echo "'$animal'";