v5:database:text
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:database:text [2019/12/31 06:06] – PHP '==' vs SQL '=' comparison peterdd | v5:database:text [2020/01/13 13:17] (current) – fix invalid tag specification dregad | ||
|---|---|---|---|
| Line 86: | Line 86: | ||
| 1=> | 1=> | ||
| 2=> | 2=> | ||
| - | 3=> | + | 3=> |
| 4=> | 4=> | ||
| 5=> | 5=> | ||
| Line 100: | Line 100: | ||
| $sql = ' | $sql = ' | ||
| + | // Does not work with PHP 5.3 or later, see workaround below | ||
| $result = $db-> | $result = $db-> | ||
| Line 106: | Line 107: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | ===== Workaround ===== | ||
| + | |||
| + | For PHP 5.3 or later, the following workaround can be used (tested with ADOdb 5.20.15). | ||
| + | |||
| + | Replace the '' | ||
| + | |||
| + | <code php> | ||
| + | $db-> | ||
| + | $result = $db-> | ||
| + | $db-> | ||
| + | </ | ||
| + | |||
| + | {{tag> | ||
v5/database/text.1577768766.txt.gz · Last modified: by peterdd
