note 81251 deleted from function.mysqli-fetch-fields by danbrown

From: Date: Fri, 28 Nov 2008 22:46:10 +0000
Subject: note 81251 deleted from function.mysqli-fetch-fields by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-147378@lists.php.net to get a copy of this message
Note Submitter: woopsa at gmail dot com ---- if you want to know the setting of the field length you should use 'length' instead of 'max_length' $q = $mysqli->query("select * from table"); $finfo = $q->fetch_fields(); foreach ($finfo as $val) { echo $val->length; }

« previous php.notes (#147378) next »