PHP while(variable=mysql_fetch_assoc) - explanation
Posted
by Petr
on Stack Overflow
See other posts from Stack Overflow
or by Petr
Published on 2010-05-27T06:53:56Z
Indexed on
2010/05/27
7:01 UTC
Read the original article
Hit count: 179
Hi, I have been working with C# so this is quite strange for me:
while($variable=mysql_fetch_assoc)
I have not been able to look up in PHP manual how it works. I guess that in each loop it advances to next element of assoc.array. But what is this generally called in PHP? I am just not used to see '=' in loop condition.
© Stack Overflow or respective owner