<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_66342"> <div class="blockcode"> <div id="code_q1e"><ol> <li><?php<li> $db = new mysqli('localhost', 'root','', 'mydatabase');<li><li> $result = $db->query('CALL get_employees()') ;</li> <li> <li> while (list($employee_id, $name, $position) = $result->fetch_row()) {</li> <li> echo '$employeeid, $name, $position <br />';</li> <li> }</li> <li> <li> ?></li> </ol></div> <em onclick="copycode($('code_q1e'));">复制代</em> </div> </td></tr></table> <div class="ptg mbm mtn"> 存储过程、php、mysql</div> <div id="comment_66342" class="cm"> </div> <div id="post_rate_div_66342"></div> <br><br>