note 51685 modified in function.odbc-fetch-row by danbrown

From: Date: Fri, 25 Jun 2010 15:05:11 +0000
Subject: note 51685 modified in function.odbc-fetch-row by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-170427@lists.php.net to get a copy of this message
When I migrates from 4 to 5 took me a long day to find the solution. The way to use it without problems In php4: while (odbc_fetch_row($stringsql)) { // ... } In php5: <?php odbc_fetch_row($stringsql, 0); while (odbc_fetch_row($stringsql)) { // ... } ?> Good luck --was-- When I migrates from 4 to 5 took me a long day to find the solution. The way to use it without problems In php4: WHILE (odbc_fetch_row($stringsql)) { ... } In php5: <?php odbc_fetch_row($stringsql, 0); WHILE (odbc_fetch_row($stringsql)) { ... } ?> Good luck http://php.net/manual/en/function.odbc-fetch-row.php

« previous php.notes (#170427) next »