note 47590 added to function.ocifetchstatement

From: Date: Mon, 22 Nov 2004 09:04:50 +0000
Subject: note 47590 added to function.ocifetchstatement
Groups: php.notes 
Request: Send a blank email to php-notes+get-80851@lists.php.net to get a copy of this message
En php 5, la fonction a été renommée "oci_fetch_all" et _pas_ oci_cancel!!! Voir: http://us2.php.net/manual/fr/function.oci-fetch-all.php oci_fetch_all (PHP 5) oci_fetch_all -- Lit toutes les lignes d'un résultat Oracle Description int oci_fetch_all ( resource statement, array &output [, int skip [, int maxrows [, int flags]]]) oci_fetch_all() lit toutes les lignes du résultat statement dans le tableau défini &output. oci_fetch_all() retourne le nombre de lignes lues, ou FALSE en cas d'erreur. skip est le nombre de lignes initiales à ignorer lors de la lecture du résultat. Par défaut, ce paramètre vaut 0, pour commencer la lecture à la première ligne. maxrows est le nombre de lignes maximal à lire, à partir de la skip-ième. S'il prend la valeur de -1, cela signifie que toutes les lignes seront lues. Note : Cette fonction définie les champs NULL à la valeur PHP NULL. Le paramètre flags est la combinaison des constantes suivantes : OCI_FETCHSTATEMENT_BY_ROW OCI_FETCHSTATEMENT_BY_COLUMN (par défaut) OCI_NUM OCI_ASSOC ---- Manual Page -- http://www.php.net/manual/en/function.ocifetchstatement.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+47590 Delete -- http://master.php.net/manage/user-notes.php?action=delete+47590&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47590&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47590&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47590&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47590&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47590&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+47590&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#80851) next »