Vergleich inc/db_mysql.php - 1.6.13 - 1.6.16

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 416Zeile 416
	 * @param constant The type of array to return.
* @return array The array of results.
*/

	 * @param constant The type of array to return.
* @return array The array of results.
*/

	function fetch_array($query)

	function fetch_array($query, $resulttype=MYSQL_ASSOC)

	{

	{

		$array = mysql_fetch_assoc($query);












		switch($resulttype)
{
case MYSQL_NUM:
case MYSQL_BOTH:
break;
default:
$resulttype = MYSQL_ASSOC;
break;
}

$array = mysql_fetch_array($query, $resulttype);


		return $array;
}


		return $array;
}