ID:               23819
 Comment by:       jakobp at imv dot au dot dk
 Reported By:      rony at inf dot ufsc dot br
 Status:           No Feedback
 Bug Type:         ODBC related
 Operating System: Windows 98
 PHP Version:      4.3.1
 New Comment:

Had this error with PHP 4.3.3 on Windows XP

Notice: Use of undefined constant odbc_fetch_array - assumed
'odbc_fetch_array' in c:\trainee_jakob\a\apache\htdocs\source\odbc.php
on line 5


Previous Comments:
------------------------------------------------------------------------

[2003-06-02 17:28:14] [EMAIL PROTECTED]

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.



------------------------------------------------------------------------

[2003-05-26 17:03:11] [EMAIL PROTECTED]

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

Reply via email to