note 92143 added to function.mysql-fetch-lengths

From: Date: Fri, 10 Jul 2009 14:19:29 +0000
Subject: note 92143 added to function.mysql-fetch-lengths
Groups: php.notes 
Request: Send a blank email to php-notes+get-158169@lists.php.net to get a copy of this message
In case of UTF8 fields mysql_field_len() will return 3 times the maximum length (e.g. 30 for a VARCHAR(10) field)) for mysql_field_len() returns the byte length of the field not the defined size. ---- Server IP: 91.199.167.18 Probable Submitter: 80.255.245.90 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-fetch-lengths.php Edit -- https://master.php.net/note/edit/92143 Del: integrated -- https://master.php.net/note/delete/92143/integrated Del: useless -- https://master.php.net/note/delete/92143/useless Del: bad code -- https://master.php.net/note/delete/92143/bad+code Del: spam -- https://master.php.net/note/delete/92143/spam Del: non-english -- https://master.php.net/note/delete/92143/non-english Del: in docs -- https://master.php.net/note/delete/92143/in+docs Del: other reasons-- https://master.php.net/note/delete/92143 Reject -- https://master.php.net/note/reject/92143 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#158169) next »