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