note 53580 added to function.mysql-field-type
| From: | harald at weinreichs dot de | Date: | Mon, 06 Jun 2005 17:02:53 +0000 |
| Subject: | note 53580 added to function.mysql-field-type | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-90014@lists.php.net to get a copy of this message | ||
The note blow seems incomplete/incorrect. For php 4.3 and mysql 4.x the returned values are:
CHAR, VARCHAR, TINYTEXT, TEXT, MEDIUMTEXT, LONGTEXT, ENUM, SET: string
TINYINT, SMALLINT, MEDIUMINT, INT, INTEGER, BIGINT: int
FLOAT, DOUBLE, DECIMAL, NUMERIC: real
TIMESTAMP: timestamp
YEAR: year
DATE: date
TIME: time
DATETIME: datetime
TINYBLOB, MEDIUMBLOB, LONGBLOB, BLOB: blob
if mysql-field-type seems to return the wrong values, you may encounter an compatibility problem of
mysql, php and the libraries you use. Try reinstalling php and mysql.
----
Manual Page -- http://www.php.net/manual/en/function.mysql-field-type.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+53580
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53580&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53580&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53580&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53580&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53580&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+53580&report=yes
Search -- http://master.php.net/manage/user-notes.php