Bug #14514 Updated: mysql_fetch_field always reports back max field length of zero

From: Date: Fri, 14 Dec 2001 20:01:30 +0000
Subject: Bug #14514 Updated: mysql_fetch_field always reports back max field length of zero
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73829@lists.php.net to get a copy of this message
ID: 14514 Updated by: sander Reported By: dgintz@airlinksystems.com Old Status: Open Status: Bogus Bug Type: MySQL related Operating System: linux PHP Version: 4.1.0 New Comment: Works fine for me. You're probably doing something wrong; ask support questions on the appropriate mailinglist (see http://www.php.net/support.php). PHP has no real types. If you use a string-function on anything (even numbers), it will automatically be converted to a string. Previous Comments: ------------------------------------------------------------------------ [2001-12-14 08:23:14] dgintz@airlinksystems.com mysql_fetch_field - this function always gives a max field length of zero, no matter the type of variable. Am I doing something wrong? Also wondering if the "type" varchar should always come back as string. Please let me know. Thanks dgintz@airlinksystems.com ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14514&edit=1

« previous php.dev (#73829) next »