| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
DinCowper
9年前发布

php调用mysql存储过程返回结果集

<?php    $db = new mysqli('localhost', 'root','', 'mydatabase');      $result = $db->query('CALL get_employees()');      while (list($employee_id, $name, $position) = $result->fetch_row()) {       echo '$employeeid, $name, $position <br />';    }    ?>