帮忙看下这句SQL语句正确不?!
怎么写??
$sql="update phpcms_qy set Name='".$this->Name."',Address='".$this->Address."',Tel='".$this->Tel."',Ren='".$this->Ren."',Pz='".$this->Pz."',Fd='".$this->Fd."' where company_Id=".$this->company_Id;执行结果:company_Id为空,其他的都可接值!