Differenze

Queste sono le differenze tra la revisione selezionata e la versione corrente della pagina.

documentation:mfcdb_fetch [2008/08/22 23:10]
gchiesa
documentation:mfcdb_fetch [2009/07/29 10:49] (versione corrente)
gchiesa
Linea 5: Linea 5:
\\ \\
<box 90% orange round | Prototype:> <box 90% orange round | Prototype:>
-//string// **mfcdb_fetch**( //resource// $handle, //string// $key [, //int// $key_number] )+//string// **mfcdb_fetch**( //resource// $handle, //string// $key , //int// $key_number )
</box> </box>
\\ \\
\\ \\
\\ \\
-The function get the record pointed by $key in table indentified by $handle. An optional arguments $key_number specifies if the search must be forced on a specify key (0...n). Value 0 is PRIMARY KEY. If $key_number is not specified the engine use first key type with same length of $key.+The function get the record pointed by $key in table indentified by $handle. The arguments $key_number specifies if the search must be executed on a specify key (0...n). Value 0 is PRIMARY KEY. If $key_number is not specified the engine use first key type with same length of $key.
\\ \\
\\ \\
Linea 26: Linea 26:
} }
-$data = mfcdb_fetch($resource, "256");+$data = mfcdb_fetch($resource, "256", 0);
if($data == FALSE) { if($data == FALSE) {
documentation/mfcdb_fetch.txt · Ultima modifica: 2009/07/29 10:49 da gchiesa