MDB and the getTableFieldDefinition

From: Date: Thu, 02 Jun 2005 09:50:56 +0000
Subject: MDB and the getTableFieldDefinition
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19439@lists.php.net to get a copy of this message
if any of you have had trouble with MDB and the getTableFieldDefinition function the following is a quick fix function getTableFieldDefinition(&$db, $table, $field_name) { . . . while (is_array($row = $db->fetchInto($result, MDB_FETCHMODE_ASSOC))) { if ($field_name == $row["Field"]) { $db_type = strtolower($row["Type"]); . . . . }

« previous php.pear.general (#19439) next »