If you have utf-8 encoding use mb_substr Example : echo substr("hi mémé", 0 , 5); ... in your php.ini or do this ini_set("mbstring.func_overload", 2); ...
確定! 回上一頁