Here is the php function to remove all character which are not alphabets or numbers to remove the white space just pass the param $removeSpace as 1 function removeNonAlphaNumero( $str , $removeSpace = 0 ){ $return_string = ""; if( trim($str) != "" ){ if($removeSpace ) $return_string = preg_replace("/[^a-zA-Z0-9]/", "", $str); else $return_string = preg_replace("/[^a-zA-Z0-9\s]/", "", $str); } return $return_string; } | |
Tweet |
Manually submitting website pages to google Usually google crawls website's in a scheduled manner, but some time you may want to tell google about your new page or an important content updation. Insuch cases you can use following methods. Submit URl tool, Sitemap re-submission tool or Fetch as Google tool Each option is explained below:
Comments
Post a Comment