Quote:
Originally Posted by Taltos
Actually, I think exam is right because it is the assignment = rather than the comparison == in the while loop expression. That messes me up all the time as I work in too many different languages and mix and match syntax. Most of the current ones are like that but I have worked in a lot of older languages that didn't differentiate between assignment and comparison when it came to equal signs. 
|
If you changed it to the comparison operator (==) then the loop would never run, since $top contains an array with the values of the first row returned from the database, and $mfa (made for adsense??) is undefined.