PHP
huoyin
这个作者很懒,什么都没留下…
展开
-
如何在Ubuntu上使用eclipse搭建PHP开发和调试环境
1.安装Eclipse和PDT等插件:最简单的是从这个站点http://eclipse.org/pdt/下载最新版本的PDT x.x All In Ones / Eclipse PHP Package2.安装Java运行环境Jre/Jdk,注意JRE或者JDK的版本必须要满足Eclipse软件的最低需求3. 安装配置xdebug(可以参考我的文章http://blog.原创 2012-05-06 23:54:24 · 6354 阅读 · 0 评论 -
在Ubuntu上配置PHP调试环境Vim+XDebug
直接进入主题,以下配置假设你已经配置好PHP的环境1.安装完全版本的Vim,如果你已经安装了,请跳过这一个步骤,因为Ubuntu默认只安装一个缩减版的Vimsudo apt-get install vim-full2. 如果机器上没有安装pecl,则运行:sudo apt-get install php-pear3. 安装和配置XDebugsudo原创 2012-05-06 02:23:00 · 2299 阅读 · 0 评论 -
php如何读取多选框数据
When you are using checkboxes to submit multiple choices, there is no need to use the complex method further down the page where you assign a unique name to eachcheckbox.Instead, just name each转载 2012-06-04 20:45:14 · 1235 阅读 · 0 评论 -
php如何从数组中删除一个元素
(原文:http://stackoverflow.com/questions/369602/how-to-delete-an-element-from-an-array-in-php)It should be noted that unset() will keep indexes untouched, which is what you'd expect when usi转载 2012-06-04 20:48:27 · 7140 阅读 · 0 评论 -
php如何增加一个元素到数组
Its better to not use array_push and just use what you suggested. The functions just add overhead.//dont need to define the array, but in many cases its the best solution. $cart = array(); //原创 2012-05-24 00:02:45 · 6912 阅读 · 0 评论