今天看别人的代码,这样 $msql->query( "select * from {$tbl_config}" ); function query( $Query_String ){
$this->connect( );
$this->Query_ID = mysql_query( $Query_String, $this->Link_ID );
$this->Row = 0;
$this->Error = $this->Database;
if ( !$this->Query_ID ){
$this->halt( "Invalid SQL: ".$Query_String );
}
return $this->Query_ID;
} select * from {$tbl_config} 为什么要加大括号 , 有什么用呢?
$this->connect( );
$this->Query_ID = mysql_query( $Query_String, $this->Link_ID );
$this->Row = 0;
$this->Error = $this->Database;
if ( !$this->Query_ID ){
$this->halt( "Invalid SQL: ".$Query_String );
}
return $this->Query_ID;
} select * from {$tbl_config} 为什么要加大括号 , 有什么用呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货