Saturday, 19 August 2017

Remove Wrong Words From your website In php

Here is the code for Remove Wrong Words From your website in php:

$string = "badworde you a badwords, hello badwordd..";
$a1=array("badworde","badwords", "badwordd");
$a2=array("beep","beep", "beep");
$result = str_replace($a1, $a2, $string);
echo $result;

No comments:

Post a Comment

Google Map Filter Api Example

Here is Google Map Filter Api Example: