v5:reference:recordset:movenext
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| v5:reference:recordset:movenext [2020/01/02 12:03] – ↷ Page moved from v5:reference:connection:movenext to v5:reference:recordset:movenext dregad | v5:reference:recordset:movenext [2020/01/02 16:56] (current) – fix typos in the example peterdd | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| </ | </ | ||
| ===== Description ===== | ===== Description ===== | ||
| - | The function '' | + | The function '' |
| ------------------------------------------- | ------------------------------------------- | ||
| ===== Usage ===== | ===== Usage ===== | ||
| Line 13: | Line 13: | ||
| * Connection to DB2 sample database | * Connection to DB2 sample database | ||
| */ | */ | ||
| - | $SQL = " | + | $sql = " |
| - | $recordset = $db-> | + | $recordset = $db-> |
| /* | /* | ||
| Line 20: | Line 20: | ||
| */ | */ | ||
| $recordset-> | $recordset-> | ||
| - | /* | + | $record = $recordset-> |
| - | * Retrieve the record as an object | + | |
| - | */ | + | |
| - | $record = $recordset-> | + | |
| print_r($record); | print_r($record); | ||
| Line 35: | Line 32: | ||
| ) | ) | ||
| */ | */ | ||
| + | |||
| /* | /* | ||
| * Go to the 11th record | * Go to the 11th record | ||
| */ | */ | ||
| - | $recordSet-> | + | $recordset-> |
| - | /* | + | $record = $recordset-> |
| - | * Retrieve the record as an object | + | |
| - | */ | + | |
| - | $record = $recordset-> | + | |
| print_r($record); | print_r($record); | ||
v5/reference/recordset/movenext.1577963026.txt.gz · Last modified: by dregad
