php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #647 Date field truncation /error
Submitted: 1998-08-12 16:38 UTC Modified: 1998-08-13 16:33 UTC
From: asengupt at cs dot indiana dot edu Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 3.0.2a OS: Sunos 5.6 (Solaris)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: asengupt at cs dot indiana dot edu
New email:
PHP Version: OS:

 

 [1998-08-12 16:38 UTC] asengupt at cs dot indiana dot edu
the following script will truncate the date field. foo is a table with a date field in it, say the first field. Larger tables result in "document contains no data".

<html> <head>
<title>Test</title>
</head>

<body>
<h1>Test</h1>

<?
    PutEnv("SYBASE=/l/sybase");
    $di=sybase_connect("server", "username", "password");
    $di=sybase_select_db("db");
    /* send the SQL request */
    $ri=sybase_query("select * from foo");
    while ($crow = sybase_fetch_row($ri)) {
      echo "$crow[0]<br>\n";
    }
?>
</body> </html>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-08-13 16:33 UTC] zeev
Should be fixed now.  Please check out 3.0.3
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC