summaryrefslogtreecommitdiff
path: root/drivers/adodb-text.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/adodb-text.inc.php')
-rw-r--r--drivers/adodb-text.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/adodb-text.inc.php b/drivers/adodb-text.inc.php
index d2900b6e..b9a588d4 100644
--- a/drivers/adodb-text.inc.php
+++ b/drivers/adodb-text.inc.php
@@ -205,7 +205,7 @@ class ADODB_text extends ADOConnection {
$where_arr = array();
reset($this->_origarray);
- while (list($k_arr,$arr) = each($this->_origarray)) {
+ foreach ($this->_origarray as $arr) {
if ($i == 0 && $this->_skiprow1)
$where_arr[] = $arr;
@@ -243,7 +243,7 @@ class ADODB_text extends ADOConnection {
$i = 0;
$n = '';
reset($this->_colnames);
- while (list($k_n,$n) = each($this->_colnames)) {
+ foreach ($this->_colnames as $n) {
if ($col == strtoupper(trim($n))) break;
$i += 1;
@@ -298,7 +298,7 @@ class ADODB_text extends ADOConnection {
if ($at == 0) {
$i = 0;
reset($projnames);
- while (list($k_n,$n) = each($projnames)) {
+ foreach ($projnames as $n) {
if (strtoupper(trim($n)) == $col) {
$at = $i+1;
break;