Explain PHP/MySQL in Simple Terms
This question already has an answer here:
 It's a foreach loop.  So it can be translated to...  
 for every object in the $row variable, assign that object to the new variable $name , with its corresponding value as $value  
 That will loop N times, where N is the number of rows returned.  Each time the loop is iterated, the $name and $value variables are re-initialized to the new row's contents.  
下一篇: 用简单的术语解释PHP / MySQL
