Topic: DB lookup question
If one has a db query/lookup which will return multiple rows, would the following just return the required item from the first row of the result all or rows?
list($lastpost) = $db->fetch_row($result);
Result is a lookup which is ordered by last post, so the first row has the last post info I require, but I'm not quite sure if the above will work as I think/expect. Plus, running that command would still leave all the info in result as is, to be used in a while loop later on?
Thanks again,
Matt