相关文章
mysql批量添加数据
$conn=new sqlhelper;for ($i = 0; $i <1000 ; $i++) {$sql="insert into system_user(user_shenfe...
php设置16位的md5加密方法
用substr函数实现substr(md5(变量),8,16);就可以实现默认的md5(变量)输出的是32位加密方法...
php的function函数内部只能有一个return
php的function函数内部只能有一个return,之后的代码就都全部运行不正常了...
数组问题整理
$arr[] //用于收集子数组;serialize($arr)&nb...
php过滤emod与特殊字符
<?php function xml_entities($string) { //过滤emod $ts_zifu= json_encode($st...
php替换函数--数组写法
<?php $my_name='&&&&'; //echo substr(xml_entities(...
