I'm delivering this to some function, and that i want double-quotes around the need for the variable below, example $var = "New York" (note the quotes)

   $fq.=" + area:$state";

Then when I echo $condition I would like double quotes around it, how do i do that?


You are able to write it such as this:

$fq .= " + area:\"$state\"";

The backslash escapes special figures(like newline, tabs or quotes) in double cited strings.

$var = '"New York"';