php how to query replace code example Example: php replace string str_replace ($needle, $replacement, $haystack);