Bug #647: Date field truncation /error

From: Date: Wed, 12 Aug 1998 20:38:42 +0000
Subject: Bug #647: Date field truncation /error
Groups: php.dev 
Request: Send a blank email to php-dev+get-131@lists.php.net to get a copy of this message
From: asengupt@cs.indiana.edu Operating system: Sunos 5.6 (Solaris) PHP version: 3.0.2a PHP Bug Type: Sybase related Bug description: 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> -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#131) next »