che?

Non è chiaro... forse vuoi stampare nel documento html una stringa?

ipotizzo ...

Se da php fai

Codice PHP:
echo "ok"
oppure

Codice PHP:
print "ok"
nel documento html hai semplicemente

Codice PHP:
ok 
json_encode inserisce automaticamente le virgolette...