|  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
 [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>


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


Add a Patch

Pull Requests

Add a Pull Request


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 Jul 22 08:01:43 2024 UTC