mysqli存储过程

<?php
$link = mysqli_connect(‘localhost‘,‘root‘,‘‘,‘chinatupai‘); 
$sql = "call getEmail(‘00056‘)"; 
//设置字符集 
mysqli_query($link,"set names gbk"); 
$result = mysqli_query($link,$sql); 
 
$row = mysqli_fetch_array($result); 
echo "邮件地址:".$row[‘email‘]; 

?>

mysqli存储过程,布布扣,bubuko.com

mysqli存储过程

上一篇:mySQL查询优化


下一篇:windows 2008r2环境下报 'System.Data.SQLite' or one of it