Date: 09/25/00
- Next message: pepe ajo: "[phplib] Parse error"
- Previous message: layne <email protected>: "RE: [phplib] Equivalent of mysql_fetch_array"
- In reply to: Rex Byrns: "[phplib] Equivalent of mysql_fetch_array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> The author made extensive use of code like -
>
> while ( $row = mysql_fetch_array($results))
> {
> $data[$count] = $row;
> $count++;
> }
>
Hi,
try this:
$db->query("select bla from foo");
while ($db->next_record()) {
printf("Bla is: %s<br>",htmlentities($db->f("bla")));
}
This works fine for me.
Matthias Lange
-- Matthias Lange NetUSE AG Siemenswall, D-24107 Kiel, Germany Fon: +49 431 386435 00 -- Fax: +49 431 386435 99--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>
- Next message: pepe ajo: "[phplib] Parse error"
- Previous message: layne <email protected>: "RE: [phplib] Equivalent of mysql_fetch_array"
- In reply to: Rex Byrns: "[phplib] Equivalent of mysql_fetch_array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

