mysql_fetch_array()

From: Date: Tue, 17 Aug 2004 22:18:24 +0000
Subject: mysql_fetch_array()
Groups: php.general 
Request: Send a blank email to php-general+get-194097@lists.php.net to get a copy of this message
When using mysql_fetch_array() is it necsessary to specify the second argument - meaning the constant of MYSQL_NUM or MYSQL_ASSOC? 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

« previous php.general (#194097) next »