php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2264 sybase_fetch_field->column_source
Submitted: 1999-09-08 11:48 UTC Modified: 2002-06-16 08:40 UTC
From: bohumir dot sup at newtonma dot cz Assigned:
Status: Not a bug Package: Sybase (dblib) related
PHP Version: 3.0.12 OS: Solaris 2.7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
2 + 36 = ?
Subscribe to this entry?

 
 [1999-09-08 11:48 UTC] bohumir dot sup at newtonma dot cz
Code:
  for($i=0; $i< $cols; $i++){
    $o_pom = sybase_fetch_field($query, $i);
    $s_pom = $o_pom->name;
    $s2_pom = $o_pom->column_source;
    echo "  <TH>$s2_pom.$s_pom\n";
  }

expression $o_pom->column_source do not return value.

- No Error or Warning message
- Value name is returned OK
- simple SQL query with aliased tables
e.g.                ...FROM D_Fond       T1,
                            C_Typ_fondu  T2,
                            D_Osoba      T3


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 08:40 UTC] sander@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 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-2019 The PHP Group
All rights reserved.
Last updated: Sat Sep 21 06:01:26 2019 UTC