This may be a simple question but it's difficult to Google it. I need to take an existing variable and put double quotes around it.
So I have:
$foo = "bar";
echo $foo;
bar
I need:
"bar"
I have tried several variations of something like this:
$foo = '"' . $foo . '"'; (those are si...
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.