时间:2021-07-01 10:21:17 帮助过:4人阅读
代码部分:
"SET NAMES'GBK';")); $someInParameter1='hellow'; $stmt = $db->prepare("CALL outputProcudure(:addName,@outASD)"); $stmt->bindParam(':addName', $someInParameter1); if($stmt->execute()) { $rs=$db->query('select @outASD')->fetchAll(); $dataArray=$rs[0]; echo(""); } else { echo(""); } ?>
mysql存储过程: