v5:userguide:deprecated
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
v5:userguide:deprecated [2016/03/14 00:52] – mnewnham | v5:userguide:deprecated [2018/06/27 16:16] (current) – function names starting with lowercase (#430) dregad | ||
---|---|---|---|
Line 5: | Line 5: | ||
<code php> | <code php> | ||
- | |||
include(' | include(' | ||
- | + | $conn = &adoNewConnection(' | |
- | $conn = &ADONewConnection(' | + | $conn->pConnect(' |
- | + | ||
- | $conn->PConnect(' | + | |
$sql = ' | $sql = ' | ||
- | + | $rs = $conn->execute($sql); | |
- | $rs = $conn->Execute($sql); | + | print $rs->getMenu(' |
- | + | ||
- | print $rs->GetMenu(' | + | |
</ | </ | ||
Line 31: | Line 24: | ||
include_once('/ | include_once('/ | ||
- | $db = &NewADOConnection(' | + | $db = &newADOConnection(' |
+ | $db-> | ||
- | $db-> | + | $rs = $db->execute(' |
- | + | ||
- | $rs = $db->Execute(' | + | |
print "< | print "< | ||
- | |||
print rs2csv($rs); | print rs2csv($rs); | ||
print '< | print '< | ||
- | $rs->MoveFirst(); # note, some databases do not support MoveFirst | + | $rs->moveFirst(); # note, some databases do not support MoveFirst |
print rs2tab($rs, | print rs2tab($rs, | ||
# false == suppress field names in first line | # false == suppress field names in first line | ||
print '< | print '< | ||
- | $rs->MoveFirst(); | + | $rs->moveFirst(); |
rs2tabout($rs); | rs2tabout($rs); | ||
Line 53: | Line 44: | ||
print "</ | print "</ | ||
- | $rs->MoveFirst(); | + | $rs->moveFirst(); |
$fp = fopen($path, | $fp = fopen($path, | ||
- | |||
if ($fp) { | if ($fp) { | ||
- | |||
rs2csvfile($rs, | rs2csvfile($rs, | ||
- | |||
fclose($fp); | fclose($fp); | ||
- | |||
} | } | ||
</ | </ |
v5/userguide/deprecated.txt · Last modified: 2018/06/27 16:16 by dregad