multi_query($sql2)) { do{ $result=$mysqli->store_"/> multi_query($sql2)) { do{ $result=$mysqli->store_">

Home >Backend Development >PHP Tutorial >select-菜鸟求学菜鸟求学菜鸟求学

select-菜鸟求学菜鸟求学菜鸟求学

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-02 11:32:111003browse

selectphperror

$mysqli=new mysqli("localhost","root","root","t");
$sql2="select name from table1;";
$sql2.="select id from table1;";
if($res=$mysqli->multi_query($sql2))
{
do{
$result=$mysqli->store_result();
while($row=$mysqli->fetch_row())
{
foreach($row as $k=>$v)
{
echo "----$v";
}
echo "";
}
echo "";
$result->free();s
}while($mysqli->next_result());

<code>$mysqli->close();这个错误怎么解决?Fatal error: Call to undefined method mysqli::fetch_row()</code>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn