阅读背景:

将mysql_fetch_object()的结果传递给函数不起作用

来源:互联网 

I have the following problem:

我有以下问题:

public function row2Partner($row){
  echo $row->PartnerID;
}

public function main(){
  $query = "SELECT PartnerID, PartnerName FROM Partner";
  $result = mysql_query($query);
  $this->row2Partner(mysql_fetch_object($result));
}
publi



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: