SyntaxFix
Write A Post
Hire A Developer
Questions
this code works great for me :
echo str_replace(array_keys($data), array_values($data), $query->queryString);
Don't forget to replace $data and $query by your names