I'm trying to add " " on a php variable,
What i have:
$id = 123;
echo "{$id}"; //123
How can i return "123" instead of just 123?
echo ""{$id}""; //adding extra columns is not working
You escape the double quotes you want in the string with the \
backslash, like this:
$id = 123;
echo "\"{$id}\"";