Re: [Phplib-users] fetch_array
Brought to you by:
nhruby,
richardarcher
|
From: Aric C. <gre...@pe...> - 2003-01-15 20:26:23
|
Is that "legal"? I had avoided doing that because I was afraid that it
might break in future releases, sticking instead only to the documented API.
----- Original Message -----
From: "Layne Weathers" <la...@of...>
To: "'Serghej Petrov'" <sp...@ti...>
Cc: <php...@li...>
Sent: Wednesday, January 15, 2003 9:38 AM
Subject: RE: [Phplib-users] fetch_array
> > Is there function in phplib equal to mysql_fetch_array() ????
>
> $db->query("SELECT sid FROM active_sessions LIMIT 1");
> $db->next_record();
>
> echo $db->Record["sid"];
>
> next_record() puts the array in $db->Record.
>
>
> Layne Weathers
> Ifworld Inc.
>
|