On Tue, 17 Aug 2004 18:18:24 -0400
[EMAIL PROTECTED] (Anthony Ritter) wrote:

> When using mysql_fetch_array() is it necsessary to specify the second
> argument - meaning the constant of MYSQL_NUM or MYSQL_ASSOC?
php.net/mysql_fetch_array
array mysql_fetch_array ( resource result [, int result_type])
meaning; no. You don't need to specify the second argumen.

> 
> I have seen many examples where it is left out and it is coded:
> 
> $row = mysql_fetch_array($sql);
> 
> as opposed to
> 
> $row = mysql_fetch_array($sql, MYSQL_BOTH);
> 
> Thank you.
> TR

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to