摘要:
php保留两位小数并且四舍五入1 $num = 123213.666666; 2 echo sprintf("%.2f", $num); php保留两位小数并且不四舍五入1 $num = 123213.666666; 2 echo sprintf("%.2f",substr(sprintf("%... 阅读全文
摘要:
1 2 1,'name'=>'安徽','pid'=>'0'), 5 array('id'=>2,'name'=>'北京','pid'=>'0'), 6 array('id'=>3,'name'=>'山东','pid'=>'0'), 7 array('id'=>4,'nam... 阅读全文
摘要:
不知道为什么在安装apache2.2.22版本的时候没有任何问题,直接使用命令./configure --prefix=/home/www/www_test/software/apache-2.2.22 --enable-proxy --enable-so --enable-mods-shared=... 阅读全文
摘要:
mysql版本:5.1.30已经不记得这次是第几次安装mysql了,遇到这个问题倒是第一次。之前在tar,./configure,make,make install经典四步时,从来没有想过其中的过程,只觉得像例行公事一样,做就是了。不幸的是,这次在./configure后,make时出现以下错误:m... 阅读全文
摘要:
在命名空间内使用内置类库的时候,需要使用 \比如$zip =new \ZipArchive; 阅读全文
摘要:
1.安装到系统服务中:在doc中:执行此软件memcached.exe-dinstall(如果提示错误,要找到cmd.exe用管理员身份打开)2.卸载:在doc中:执行此软件memcached.exe-duninstall3删除:使用sc delete "memcached Server" 阅读全文
摘要:
使用padding-bottom 实现高度自适应 1 2 3 4 5 height auto 6 7 8 61 62 63 64 65 logo66 67 68 69 70 ... 阅读全文