I am using this:

```
$variable = "Name is \"Bob\"";
$message = <<<EOF
    <input type="text" value="$variable">
EOF;

```

And the result is :

![enter image description here](https://i.stack.imgur.com/dql2D.png)

Actually, this is synthetic example and I am working with db. But I tried: this synthetic example works (to simulate problem, actually it shows that what I am doing is not working).