note 33224 added to function.mysql-num-fields
| From: | tharkey at tharkey dot net | Date: | Thu, 19 Jun 2003 16:26:15 +0000 |
| Subject: | note 33224 added to function.mysql-num-fields | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-50661@lists.php.net to get a copy of this message | ||
You can use it without a requete, just to list the fields :
$liste_champs = mysql_list_fields ( $Base, $Table, $connexion);
for ($i=0; $i < mysql_num_fields ($l_champs); $i++) {
echo ( mysql_field_name ($l_champs, $i) );
echo (' / ');
}
----
Manual Page -- http://www.php.net/manual/en/function.mysql-num-fields.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33224
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33224&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33224&report=yes