What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-11-18 15:00:12
php regex replace to remove special characters and accented
$unwanted_array = array( 'Š'=>'S', 'š'=>'s', 'Ž'=>'Z', 'ž'=>'z', 'À'=>'A', 'Á'=>'A', 'Â'=>'A', 'Ã'=>'A', 'Ä'=>'A', 'Å'=>'A', 'Æ'=>'A', 'Ç'=>'C', '&Egra... Add solution -
PHP 2021-10-18 13:49:08
string to lowercase accentuation hyphenated
<?php /** * Converts string to SEO-friendly form (lowercase hyphenated alphanumeric words) * * @param $string * @return string */ function seoUrl($string) { // qv stackoverflow.com/questions/11330480, stackoverflow.com/questions/1017599 ... Add solution -
PHP 2021-09-26 05:09:04
php convert accented characters to html entities
public static function remove_accents($string, $german = false) { // Single letters $single_fr = explode(" ", "À Á Â Ã Ä Å &#260; &#258; Ç &#262; &#268; &#... Add solution