php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7483 Cannot retrieve whole date out of a datefield
Submitted: 2000-10-26 12:14 UTC Modified: 2000-11-30 20:49 UTC
From: thargoid at gmx dot net Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.2 OS: Win NT4 SP6a
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:
29 + 26 = ?
Subscribe to this entry?

 
 [2000-10-26 12:14 UTC] thargoid at gmx dot net
If I want to read out a datefield of MSSQL7, the script won't stop is the fieldtype is "smalldatetime" and is retrieving the first 4 chars of the date.... in english format (d mmm). If I request another php page (and didn't aborted the loading), the IIS4 freezes and won't answering anymore requests.

if the fieldtype is "datetime", it will retrieve the first 8 characters, i.e. if the DB field contains 1978-06-15, it will retrieve "15 Jun 1" and nothing more.

plz help me, I lost DAYS in examining this problem... and still without success.

I read the field via normal mssql_result or by fetching the row.. no matter the same result :-(

my environment:
a standart php4.0.2 w32 installation with, mssql7 support enabled, IIS4, MSSQL7 SP2, winNT 4 SP 6a

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-30 20:49 UTC] fmk@php.net
This was fixed in php4.0.3. Please update
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 08:01:28 2024 UTC