Date: 09/25/00
- Next message: layne <email protected>: "RE: [phplib] Equivalent of mysql_fetch_array"
- Previous message: Frank Feingold: "Re: [phplib] current status"
- Next in thread: layne <email protected>: "RE: [phplib] Equivalent of mysql_fetch_array"
- Maybe reply: layne <email protected>: "RE: [phplib] Equivalent of mysql_fetch_array"
- Reply: Matthias Lange: "Re: [phplib] Equivalent of mysql_fetch_array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I hope this is not too stupid of a question.
Recently I found some sample code that did exactly what I wanted, but didn't
use db_Sql (obviously not everyone has discovered the benefits of phplib).
The author made extensive use of code like -
while ( $row = mysql_fetch_array($results))
{
$data[$count] = $row;
$count++;
}
I tried - while ($row = $db->(Record)){ . . . etc.
But the array did not contain what I wanted.
What is the best way to reproduce this type of functionality? I went ahead
and built the array that I needed by calling up the exact fields that I
needed with
array("$db->f(Fieldname)=>$db->f(FieldTwo)")
It works now, but seems to run a visible amount slower than the original
code.
Thanks for your input..
Rex
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: layne <email protected>: "RE: [phplib] Equivalent of mysql_fetch_array"
- Previous message: Frank Feingold: "Re: [phplib] current status"
- Next in thread: layne <email protected>: "RE: [phplib] Equivalent of mysql_fetch_array"
- Maybe reply: layne <email protected>: "RE: [phplib] Equivalent of mysql_fetch_array"
- Reply: Matthias Lange: "Re: [phplib] Equivalent of mysql_fetch_array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

