Reply to Re: PHP / Mysql - Retreive "Next" Row data in "this" row
Posted by Toby Inkster on 01/05/07 15:04
bill wrote:
> <?php
> $vals = array();
> while ($temp = fetch_row_from_db()) $vals[$temp[0]] = $temp;
> var_dump($vals);
> ?>
>
> Ah, so the var_dump ($vals); is executed just once ?
Yep.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact