include 'db_link.php';
class Search
{
private $S_id;
private $D_id;
private $range;
public function setS_id($S_id){
$this->S_id = $S_id;
}
public function get_Sid(){
return $this->S_id;
}
public function setD_id($D_id){
$this->D_id = $D_id;
}
public function getD_id(){
return $this->D_id;
}
public function checkPerson($S_name){
}
在方法checkPerson()中如何访问'db_link.php'的变量?
慕仙森
泛舟湖上清波郎朗