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