<?php
$conn = mysql_connect('localhost','root','');
mysql_select_db('dbname',$conn);
mysql_query("call pro2(2,@uname)");
$query = mysql_query('select @uname');
$row = mysql_fetch_row($query);
print_r($row);
?>
2018-06-04 21:34:31
浏览 2689
<?php
$conn = mysql_connect('localhost','root','');
mysql_select_db('dbname',$conn);
mysql_query("call pro2(2,@uname)");
$query = mysql_query('select @uname');
$row = mysql_fetch_row($query);
print_r($row);
?>
随时随地看视频慕课网APP
相关课程