摘要: js代码 php代码 阅读全文
posted @ 2016-05-07 17:21 哈密瓜和柚子 阅读(1447) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-05-07 17:08 哈密瓜和柚子 阅读(237) 评论(0) 推荐(0) 编辑
摘要: //$articleIDs是一个存着字段ID的数组 $IDs=implode(',', $articleIDs);//将数组中的每个id转换为以逗号分隔的串,然后就可以使用in查询返回id在这个数组中的所有数据 $sql2="select * from article_group where id in ($IDs)"; $result2=mysqli_query($con,$sql2); wh... 阅读全文
posted @ 2016-04-20 10:45 哈密瓜和柚子 阅读(2599) 评论(0) 推荐(0) 编辑
摘要: mysql_fetch_row() 从和指定的结果标识关联的结果集中取得一行数据并作为数组返回。每个结果的列储存在一个数组的单元中,偏移量从 0 开始。 依次调用 mysql_fetch_row() 将返回结果集中的下一行,如果没有更多行则返回 FALSE。 mysql_fetch_array() 阅读全文
posted @ 2016-04-20 10:33 哈密瓜和柚子 阅读(3033) 评论(0) 推荐(0) 编辑
摘要: 1 "> 2 banner:"> 3 专题标题:"> 4 专题新闻列表:添加新闻输入框 5 6 ×"; 9 } 10 ?> 11 12 13 阅读全文
posted @ 2016-04-12 11:08 哈密瓜和柚子 阅读(1855) 评论(0) 推荐(0) 编辑
摘要: serialize — Generates a storable representation of a value,产生一个可存储的值的表示。 unserialize — Creates a PHP value from a stored representation,从已存储的表示中创建 PHP 阅读全文
posted @ 2016-04-07 10:44 哈密瓜和柚子 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 原创 阅读全文
posted @ 2016-04-05 11:06 哈密瓜和柚子 阅读(17772) 评论(0) 推荐(0) 编辑