Need Help

From: Date: Sun, 03 Jul 2011 23:18:06 +0000
Subject: Need Help
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11454@lists.php.net to get a copy of this message
Hello There i have written a code like this ----------------------------------------------------------------------------------------------------- $text="سلام من حامد هستم"; function slugify($text) {   // replace all non letters or digits with -   $text = preg_replace('/\W+/', '-', $text);   // trim and lowercase   $text = utf8_to_unicode( strtolower(trim($text, '-')));   return $text; }  echo slugify($text); but when I try it in English it works $text="Hi iam hamed"; function slugify($text) {   // replace all non letters or digits with -   $text = preg_replace('/\W+/', '-', $text);   // trim and lowercase   $text = utf8_to_unicode( strtolower(trim($text, '-')));   return $text; }  echo slugify($text); please help me Thanks

« previous php.webmaster (#11454) next »