resultados:
Código PHP:
Ver original<?php
if($totalRows_result>0)
{
echo "<center>Se han encontrado <b>".$totalRows_result."</b> coincidencias</center><br><br>";
echo "<table>";
echo "<tr>
<td>Nombre</td><td>Apellido</td><td>Telefono</td>
</tr>";
while($row = $result->fetch_array())
{
echo "<tr>
<td>".$row['nombre']."</td><td>".$row['apellido']."</td><td>".$row['telefono']."</td>
</tr>";
}
echo "</table>";
}else{
echo "No se an encontrado resultados";
}
?>