[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doquery.php3 suggestion
That has all been changed, please see the recordset object in the
functions.php3
In fact, I am going to hose those includes I made for my pages, the
recordset object is WAY better, and easier to use.
Also, I am going to do some work on an object to parse out the categories
in the GET vars tommorow.
-Bob
ccrider@whiterose.net
Systems Administrator for whiterose.net
http://www.whiterose.net
On Fri, 14 May 1999, Micah Yoder wrote:
> I noticed that doquery.php3 returns the row to the program after doing a
> mysql_fetch_row. How about changing it to a mysql_fetch_array? That
> makes the result variable an associative array, making it possible to
> refer to it in the PHP code by field name. MUCH more readable, and I
> believe the performance impact is minimal. From the PHP manual:
> --------
> An important thing to note is that using mysql_fetch_array() is NOT
> significantly slower than using mysql_fetch_row(), while it provides a
> significant added value.
>