note 16333 deleted from function.msql-list-fields by didou

From: Date: Mon, 04 Apr 2005 22:05:43 +0000
Subject: note 16333 deleted from function.msql-list-fields by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-87454@lists.php.net to get a copy of this message
Note Submitter: sm at vis dot nu ---- For the record, msql_numrows() does not appear to work with this function. I had to do something like the following: $m = 0; while ($fieldname = @msql_fieldname($fieldlist, $m)) { echo "<TR><TD>" . $fieldname . "</TD><TD>" . msql_fieldtype($fieldlist, $m) . "(" . msql_fieldlen($fieldlist, $m) . ")</TD><TD>" . msql_fieldflags($fieldlist, $m) . "</TD></TR>"; $m++; } To get all of the fields.

« previous php.notes (#87454) next »