v5:reference:connection:fetchinto
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| reference:fetchinto [2015/07/27 03:56] – created mnewnham | v5:reference:connection:fetchinto [2025/06/01 13:21] (current) – Remove square brackets in tags dregad | ||
|---|---|---|---|
| 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> | ||
| + | |||
| + | |||
| + | |||
v5/reference/connection/fetchinto.1437962165.txt.gz · Last modified: (external edit)
