v5:database:text
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
database:text [2015/10/14 16:45] – [Usage] mnewnham | v5:database:text [2018/07/01 22:45] – prefer functions start lowercase (#430) peterdd | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Plain Text ====== | ====== Plain Text ====== | ||
<WRAP alert> | <WRAP alert> | ||
- | This driver is broken in ADOdb version 5 when used with PHP version 5.3 and up and absent | + | This driver is broken in ADOdb version 5 when used with PHP version 5.3 and up. This is due to the fact that the **execute** method has a non-compliant 3rd argument to it. Absent |
</ | </ | ||
===== Description ===== | ===== Description ===== | ||
- | The '' | + | The '' |
------------------- | ------------------- | ||
<WRAP right box 400px> | <WRAP right box 400px> | ||
Line 19: | Line 19: | ||
This is a 2 dimensional array of data. Optionally, The first row may contain the column names. If column names are not defined in first row, they must be defined in the third argument $columnNames. | This is a 2 dimensional array of data. Optionally, The first row may contain the column names. If column names are not defined in first row, they must be defined in the third argument $columnNames. | ||
==== $dataTypes ==== | ==== $dataTypes ==== | ||
- | The optional parameter $dataTypes provides an array of [[dictionary: | + | The optional parameter $dataTypes provides an array of [[v5:dictionary: |
---------------------- | ---------------------- | ||
<WRAP right info 400px> | <WRAP right info 400px> | ||
Line 50: | Line 50: | ||
<code php> | <code php> | ||
- | $rs = $db->Execute(' | + | $rs = $db->execute(' |
- | $rs = $db->Execute(' | + | $rs = $db->execute(' |
// sql accepted and processed -- any table name is accepted | // sql accepted and processed -- any table name is accepted | ||
- | $rs = $db->Execute(' | + | $rs = $db->execute(' |
// sql accepted and processed | // sql accepted and processed | ||
</ | </ | ||
Line 66: | Line 66: | ||
--------------------- | --------------------- | ||
<code php> | <code php> | ||
- | $rs = $db->Execute(' | + | $rs = $db->execute(' |
/* | /* | ||
Line 86: | Line 86: | ||
$data = | $data = | ||
- | array(0=> | + | array(0=> |
- | 1=>Array(10002,' | + | 1=>array(10002,' |
- | 2=>Array(10003,' | + | 2=>array(10003,' |
- | 3=>Array(10004,' | + | 3=>array(10004,' |
- | 4=>Array(10005,' | + | 4=>array(10005,' |
- | 5=>Array(10006,' | + | 5=>array(10006,' |
); | ); | ||
v5/database/text.txt · Last modified: 2020/01/13 13:17 by dregad