码迷,mamicode.com
首页 >  
搜索关键字:php array 数组    ( 182180个结果)
初识Mongodb之[CURD]-PHP版
行动 在了实践之前,希望大家看一下上面的学习资源,了解一下基本操作. 数据连接初始账号密码 账号:admin 密码:admin   首先我们建立一个文件:mongodb.php,设置需要连接账号密码,连接数据库 php /** * Mongodb Test * * Tools: * Zend Studio 8.x * Eclipse Plug :Toggle Va...
分类:数据库   时间:2014-05-15 14:49:56    阅读次数:442
[LeetCode]Single Number
Given an array of integers, every element appears twice except for one. Find that single one....
分类:其他好文   时间:2014-05-15 07:20:39    阅读次数:264
list,set,map,数组间的相互转换
list,set,map,数组间的相互转换...
分类:其他好文   时间:2014-05-15 07:20:06    阅读次数:239
Leetcode 树 Binary Tree Level Order Traversal II
题意:从底往上按层遍历二叉树 思路: 思路和Binary Tree Level Order Traveral 一样, 即从上往下按层遍历二叉树,将每一层的节点存放到该层对应的数组中 最后将得到的数组倒转一下就可以了 按层遍历二叉树可用bfs,也可用dfs,但都要记录节点所在的层 复杂度:时间O(n), 空间O(n)...
分类:其他好文   时间:2014-05-15 06:32:14    阅读次数:278
linux后台服务器开发环境部署配置和验证(nginx+apache+php-fpm+FASTCGI(C/C++))
CentOS 6.3(Linux version 2.6.32-279.el6.x86_64) gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4) 本次配置 Nginx 1.5.8 Apache 2.4.7 php 5.3.26 FASTCGI...
分类:编程语言   时间:2014-05-15 05:52:51    阅读次数:421
configure: error: mysql configure failed. Please check config.log for more information.
configure: error: mysql configure failed. Please check config.log for more information....
分类:数据库   时间:2014-05-15 05:15:02    阅读次数:318
$_SESSION
三个界面来学习$_SESSION的使用 第一个界面: 对应的代码: 我的商品列表 三国演义 水浒传 红楼梦 鲁迅全集 西游记 查看购物车   第二个界面: 对应代码: <?php echo "购买商品成功"; ...
分类:其他好文   时间:2014-05-15 05:08:43    阅读次数:376
leetCode-002 Median of Two Sorted Arrays
leetCode-002 Median of Two Sorted Arrays 【题目】 There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). 【题意】 有两个有序的数组,找出这两数组整合后的中位数,要求时间复杂度O(nlogn)...
分类:其他好文   时间:2014-05-15 04:42:05    阅读次数:274
动态申请 二维数组 以及初始化、 赋值
动态分配数组 初始化...
分类:其他好文   时间:2014-05-15 04:04:14    阅读次数:245
php Cannot modify header information 和 Cannot send session cache limiter
在php开发中遇到两个问题 (1)Cannot send session cache limiter        解决方式  找到 php.ini        修改php.ini中的 session.auto_start = 0 为 session.auto_start = 1 (2)Cannot modify header information    解决方式  找...
分类:Web程序   时间:2014-05-14 14:28:55    阅读次数:396
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!