当前位置:首页 > 搜索和 t 相关的文章

我的 DataBase类

添加日期:2013-11-28 11:10:04 发布:smiling 
***数据库配置类* classDBConfig{publicstatic$HOST=& 39;localhost& 39;;publicstatic$USERNAME=& 39;root& 39;;publicstatic$PASSWORD=& ...

syntax error, unexpected T_CONCAT_EQUAL

添加日期:2013-11-28 11:07:39 发布:smiling 
Parse error: syntax error, unexpected T_CONCAT_EQUAL,这个问题是我今天在写php程序时出现的一个简单的问题,其实这算不上什么问题 ...

Cannot use object of type stdClass as array

添加日期:2013-11-28 10:39:29 发布:smiling 
在我写php是会出现,如下图代码提供错误 Fatal error: Cannot use object of type stdClass as array ...

php __get(),__set()函数来实现对属性的访问

添加日期:2013-11-28 09:58:46 发布:smiling 
<?phpclassclass_name{var$attribute;function__get($name){return$this->$name;}function__set($name,$value){$this->$name=$value;}}$a=n ...

file_get_contents() 与file的区别

添加日期:2013-11-28 09:54:21 发布:smiling 
以前没注意可以使用file这个函数了,今天在做一个php把txt文本数据入导到数据库开始我是用file_get_contents(),把数据保存到变量再用explode ...

Warning: Missing argument 3 for photo_bigclass()

添加日期:2013-11-28 09:50:17 发布:smiling 
Warning: Missing argument 3 for photo_bigclass(), called inF: myweb 79look index php on line 78 and defined inF: mywe ...

Warning: mysql_fetch_array():

添加日期:2013-11-28 09:48:36 发布:smiling 
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in$connect=mysql_connect("localhos ...

__construct 构造函数用法

添加日期:2013-11-28 09:40:58 发布:smiling 
__construct 构造函数 类在被实例化时就会执行 construct 自定义的函数或方法 <?phpclassmyName{function__construct($myName){ 连续两 ...

php curl_init函数用法

添加日期:2013-11-28 09:10:07 发布:smiling 
首先,在C windows里的php ini中我打开了extension=php_curl dll的功能,然后也重启了apapche,以下是我写的抓取百度中PHP的信息:...

Column count doesn't match value

添加日期:2013-11-28 08:51:32 发布:smiling 
仔细检查可以发现是insert into的字段与value个数不相等所选成的 ...

Call to undefined function php()

添加日期:2013-11-28 08:50:22 发布:smiling 
Call to undefined function php() 这个是什么错误,很多新手都会碰到这种问题,我想这种问题只要的懂这英语就知道是什么意思了 是函数未定义了,就这么简单 ...

Warning: mysql_free_result():

添加日期:2013-11-28 08:47:16 发布:smiling 
我们的网站提示这样的错误,Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource...