v5:dictionary:createtablesql
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:dictionary:createtablesql [2016/01/13 02:06] – ↷ Page moved from dictionary:createtablesql to v5:dictionary:createtablesql mnewnham | v5:dictionary:createtablesql [2016/03/05 01:55] (current) – [$tableOptions] mnewnham | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| == See Also == | == See Also == | ||
| - | [[dictionary: | + | [[v5:dictionary: |
| - | [[dictionary: | + | [[v5:dictionary: |
| == Syntax == | == Syntax == | ||
| Line 16: | Line 16: | ||
| </ | </ | ||
| ===== Description ===== | ===== Description ===== | ||
| - | The method '' | + | The method '' |
| ===== Parameters ===== | ===== Parameters ===== | ||
| Line 26: | Line 26: | ||
| </ | </ | ||
| ==== $fields ==== | ==== $fields ==== | ||
| - | A string holding information regarding the columns to create in the new table. For a detailed description of the format of this string, see [[dictionary: | + | A string holding information regarding the columns to create in the new table. For a detailed description of the format of this string, see [[v5:dictionary: |
| ==== $tableOptions ==== | ==== $tableOptions ==== | ||
| - | An optional array of information that adds information regarding the table creation. This array may also contain field specific information, | + | An optional array of information that adds information regarding the table creation. This array may also contain field specific information, |
| + | <code php> | ||
| + | |||
| + | $tabname = ' | ||
| + | $flds = ' | ||
| + | $opts = array(' | ||
| + | ' | ||
| + | |||
| + | $sql = $db-> | ||
| + | </ | ||
| + | |||
| + | In the example above, the values provided in '' | ||
| ===== Usage ===== | ===== Usage ===== | ||
| <code php> | <code php> | ||
v5/dictionary/createtablesql.1452647167.txt.gz · Last modified: (external edit)
