while loop in php with assignment operator

前端 未结 7 730
闹比i
闹比i 2020-12-17 10:41

the code I\'m looking at does this...

while ($info=mysql_fetch_array($data_jurisdiction))
{
//some stuff
}

I\'m wondering what does this wh

7条回答
  •  情书的邮戳
    2020-12-17 11:14

    For each record $info will be populated with the current row, until it reaches the end of the result set when it will be set to false (which should stop the while loop).

提交回复
热议问题