note 89117 added to mysqli-result.fetch-field-direct
| From: | danielatsummitcovedotcom at osu1 dot php dot net | Date: | Sun, 22 Feb 2009 23:36:43 +0000 |
| Subject: | note 89117 added to mysqli-result.fetch-field-direct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-150989@lists.php.net to get a copy of this message | ||
Here's a bigger list of data types. I got this by creating every type I could and calling
fetch_fields():
<?php
$mysql_data_type_hash = array(
1=>'tinyint',
2=>'smallint',
3=>'int',
4=>'float',
5=>'double',
7=>'timestamp',
8=>'bigint',
9=>'mediumint',
10=>'date',
11=>'time',
12=>'datetime',
13=>'year',
16=>'bit',
//252 is currently mapped to all text and blob types (MySQL 5.0.51a)
253=>'varchar',
254=>'char',
246=>'decimal'
);
?>
----
Server IP: 208.69.120.35
Probable Submitter: 24.8.219.133
----
Manual Page -- http://www.php.net/manual/en/mysqli-result.fetch-field-direct.php
Edit -- https://master.php.net/note/edit/89117
Del: integrated -- https://master.php.net/note/delete/89117/integrated
Del: useless -- https://master.php.net/note/delete/89117/useless
Del: bad code -- https://master.php.net/note/delete/89117/bad+code
Del: spam -- https://master.php.net/note/delete/89117/spam
Del: non-english -- https://master.php.net/note/delete/89117/non-english
Del: in docs -- https://master.php.net/note/delete/89117/in+docs
Del: other reasons-- https://master.php.net/note/delete/89117
Reject -- https://master.php.net/note/reject/89117
Search -- https://master.php.net/manage/user-notes.php