I'm having some trouble understanding how PHP parses conditionals.
For instance,
while (list($id, $name, $salary) = mysql_fetch_row($result)) { ...}
(http://php.net/manual/en/function.list.php )
will evaluate true while the list can retrieve values. But printing the list will print the values contained within the list's variables. The manual also says that list() returns an array. How then, does the conditional know that the mysql fetch attempt was successful?
If it does return a boolean, how do you display it directly rather than
if(expr) echo 'true';
thanks!