do{
$d=mysqli_query($con,select aid from id where bid='$g');
mysqli_query($con,delete * from id where bid='$g');
$g=$d;
}
while($d==0);
这段php代码中$d=mysqli_query($con,select aid from id where bid='$g');出问题了
catchable fatal error: object of class mysqli_result could not be converted to string in c:\wamp\www\
该怎么解决
