note 3035 deleted from mysql_list_fields by danbeck
| From: | danbeck@php.net | Date: | Thu, 07 Sep 2000 17:05:25 +0000 |
| Subject: | note 3035 deleted from mysql_list_fields by danbeck | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4403@lists.php.net to get a copy of this message | ||
An example:
<PRE>
$mysql_link=mysql_connect $dbhost,$dbuser,$dbpass);
$mysql_link = mysql_connect($dbhost,$dbuser,$dbpass);
$column = mysql_list_fields($dbname,$dbtable,$mysql_link);
for($i=0; $i<mysql_num_fields($column); $i++ ) {
print mysql_field_name($column,$i )."<br>";
}