query($query); $query1 = 'SELECT @phone'; $result = $c"/> query($query); $query1 = 'SELECT @phone'; $result = $c">
Heim >Backend-Entwicklung >PHP-Tutorial > PHP 怎么获取存储过程的返回值
PHP 如何获取存储过程的返回值
$query = "CALL T_PROCEDURE_GETPHONE($pid,@phone)";<br /> $conn->query($query);<br /> $query1 = 'SELECT @phone';<br /> $result = $conn->query($query1);<br /> <br /> $rr = $result->fetch_row();<br /> <br />