v5:reference:connection:affected_rows
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:reference:connection:affected_rows [2016/01/16 22:36] – ↷ Page moved from v5:reference:affected_rows to v5:reference:connection:affected_rows mnewnham | v5:reference:connection:affected_rows [2022/11/06 23:20] (current) – mnewnham | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| </ | </ | ||
| ===== Description ===== | ===== Description ===== | ||
| - | The function '' | + | The function '' |
| + | |||
| + | <WRAP tip> | ||
| + | Because the connection only supports a single global instance of this variable, it is important to **retrieve the value of this method before executing another SQL statement** (of any type). | ||
| + | </ | ||
| ===== Usage ===== | ===== Usage ===== | ||
| <code php> | <code php> | ||
| Line 12: | Line 17: | ||
| * connection assumed | * connection assumed | ||
| */ | */ | ||
| - | $db->Execute(' | + | $db->execute(' |
| print $db-> | print $db-> | ||
| Line 19: | Line 24: | ||
| */ | */ | ||
| - | $db->Execute(' | + | $db->execute(' |
| print $db-> | print $db-> | ||
| /* | /* | ||
| Line 25: | Line 30: | ||
| */ | */ | ||
| </ | </ | ||
| + | |||
v5/reference/connection/affected_rows.1452980180.txt.gz · Last modified: (external edit)
