I have an error with this line of my program, it says that it lacks a parameter
mysqli_num_rows () expects parameter 1 to be mysqli_result, boolean
This is the line that tells me that I have an error
fwrite($arch, "<table:table table:name=\"".$this-
>nombre_tabla($tabla)."\" table:style-name=\"ta1\"><table:table-column
table:style-name=\"co1\" table:number-columns-
repeated=\"".mysqli_num_rows($conexion->query("select * from
".$tabla))."\" table:default-cell-style-name=\"Default\" />");