对PHP记事本程序(二)的修订

刚才发现我贴在博客上的那段代码是有误的,现郑重变更如下:

if($db=mysql_connect( $host,$userName,$passwd))

应该变更成:

 
if($db=mysql_connect( $this->host,$this->userName,$this->passwd))

Post a Comment