[development] Extend database abstraction layer, to include table
creation.
Earl Miles
merlin at logrus.com
Fri May 12 17:45:06 UTC 2006
Moshe Weitzman wrote:
>>The only place I could see something like this being useful is
>>everywhere we do :
>>
>>$result = db_query('something');
>>while ($data = db_fetch_array($result) {
>> $return[$data['some_key']] = $data;
>>}
>>
>>AND NOTHING ELSE.
>
> Of course. That's why Ber gave function name called fetch_all(). You use it
> when you need it. I can't understand why someone would start making noise on
> the list about this. You use it if you need it. That's all.
Well, except that people who aren't quite familiar with what's going on will
think that it's easier and use it in the wrong place.
More information about the development
mailing list