我想在index.php中返回u,p,d的值,但是我不知道该返回什么代码
$stmt = $this->mysqli->prepare("SELECT u,p,d FROM pump_price"); $stmt->execute(); $stmt->bind_result($u,$p,$d); while ($row = $stmt->fetch()) { // what to return here? } $stmt->close(); $this->mysqli->close();