php 根据姓氏笔画排序如何做

WBOY
Release: 2016-06-13 12:04:29
Original
1664 people have browsed it

php 根据姓氏笔画排序怎么做
php 根据姓氏笔画排序怎么做
mysql数据库
有高手作过么
------解决方案--------------------
获取汉字笔画数的一种方法

$fp = fopen('汉字.xls', 'w');<br />for($c=0x4E00; $c<=0x9fa5; $c++) {<br />  fputs($fp, iconv('ucs-2', 'gbk', pack('n', $c)) . PHP_EOL);<br />}<br />fclose($fp);<br />
Copy after login

打开《汉字.xls》 菜单 -- 数据 -- 排序 -- 笔画排序

自己动手填上笔画数

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template