v5:reference:connection:fetchinto
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
reference:fetchinto [2015/07/27 04:01] – mnewnham | v5:reference:connection:fetchinto [2016/01/17 00:48] (current) – ↷ Page moved from v5:reference:fetchinto to v5:reference:connection:fetchinto mnewnham | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== fetchInto ====== | ====== fetchInto ====== | ||
+ | ~~NOTOC~~ | ||
<WRAP right box> | <WRAP right box> | ||
== Syntax == | == Syntax == | ||
Line 7: | Line 8: | ||
</ | </ | ||
===== Description ===== | ===== Description ===== | ||
- | The function '' | + | The PEAR compatible |
+ | ---------------------------------------- | ||
+ | ===== Usage ====== | ||
+ | <code php> | ||
+ | /* | ||
+ | * database connection assumed | ||
+ | */ | ||
+ | $SQL = " | ||
+ | $result = $db-> | ||
+ | while (!$result-> | ||
+ | $arr = array(); | ||
+ | $result-> | ||
+ | |||
+ | print_r($arr); | ||
+ | } | ||
+ | </ | ||
+ | ===== PEAR compatibility ===== | ||
+ | This command is no longer supported in the PEAR mdb module. | ||
{{tag> | {{tag> | ||
+ | |||
+ | |||
+ | |||
+ |
v5/reference/connection/fetchinto.1437962513.txt.gz · Last modified: 2017/04/21 11:35 (external edit)