(PHP 5)
mysqli_field_count(no version information, might be only in CVS)
mysqli->field_count -- Regresa el n煤mero de columnas para la consulta m谩s recienteEstilo por procedimientos:
int mysqli_field_count ( mysqli identificador_de_enlace )Estilo orientado a objetos (m茅todo):
class mysqli {Regresa el n煤mero de columnas para la m谩s reciente consulta en la conexi贸n representada por el par谩metro identificador_de_enlace. Esta funci贸n puede ser usada cuando se use la funci贸n Returns the number of columns for the most recent query on the connection represented by the link parameter. This function can be useful when using the mysqli_store_result() function to determine if the query should have produced a non-empty result set or not without knowing the nature of the query.
Ejemplo 2. Procedural style
|