#23819 [Fbk->NoF]: odbc_fetch_array() - Problem
| From: | sniper@php.net | Date: | Mon, 02 Jun 2003 22:28:15 +0000 |
| Subject: | #23819 [Fbk->NoF]: odbc_fetch_array() - Problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-40969@lists.php.net to get a copy of this message | ||
ID: 23819
Updated by: sniper@php.net
Reported By: rony at inf dot ufsc dot br
-Status: Feedback
+Status: No Feedback
Bug Type: ODBC related
Operating System: Windows 98
PHP Version: 4.3.1
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-05-26 17:03:11] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-05-26 16:56:32] rony at inf dot ufsc dot br
<?
$conn = odbc_connect("Driver={Microsoft Access Driver
(*.mdb)};DBQ=C:/teste.mdb", "", "");
if ($conn) {
$sql = "SELECT * FROM Cliente";
$res = odbc_exec($conn, $sql);
if ($res){
while ($valor = odbc_fetch_array($res)) {
echo $valor["Nome"] ." - ";
echo "". $valor["ID"];
}
}
odbc_close($conn);
} else {
echo "". mysql_error();
}
?>
Send fatal error:
Fatal error: Call to undefined function: odbc_fetch_array() in
c:\arquivos de programas\apache group\apache\htdocs\access\conexao.php
on line 9
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23819&edit=1