mysql_num_fields di mysqli

 $fieldcount=mysqli_num_fields($result);
Mohamed Sami khiari