php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12967 Problem with Oracle and LONG Datatype
Submitted: 2001-08-27 05:16 UTC Modified: 2002-06-11 09:03 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: yannbarrault at yahoo dot Fr Assigned:
Status: Not a bug Package: Oracle related
PHP Version: 4.0.5 OS: Windows98
Private report: No CVE-ID: None
 [2001-08-27 05:16 UTC] yannbarrault at yahoo dot Fr
Hello!

I use datatype LONG in Oracle8 and It doesn't works:

<?
$conn = Ora_Logon("scott","tiger");
$curs = ora_open($conn);
$queryauto=sprintf("select * from POLYGONE");
ora_parse($curs,$queryauto);
ora_exec($curs);
while(ora_fetch($curs)){
  $i = ora_getcolumn($curs,1);
  $j = ora_getcolumn($curs,4);
  echo "$i , $j"."<br>";
}
?>

It works when datatype is varchar2.
I have not any error message. It's like $j is empty?

Sorry about my english, thanks ;)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-11 09:03 UTC] edink@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 04:01:27 2024 UTC