str_replace


The str_replace() function replaces some characters with some other characters in a string. str_replace(find,replace,string,count)

$query = str_replace("?", "%s", $query);
Post Details
  • PostId : 42
  • Post Owner : Mukesh Dak
  • Views : 29
  • Slug : str-replace
  • Access : Public

  • Created At : 2 months ago
  • Updated At : 2 months ago
Actions
No Edit Previlege