mysql_list_fields.php : mysql_num_fields « MySQL Database « PHP






mysql_list_fields.php

 
<?
mysql_connect("localhost","root","");
$fields = mysql_list_fields("mydatabase","password");
echo mysql_num_fields($fields);
?>
  
  








Related examples in the same category

1.mysql_num_fields.php