RE:mostrar registros de una consulta
Hola ahí te mando un codigo, no se si esta bien, a mi me funciona, espero que te sirva.
<?php
$database = "nombre_base_de_datos";
$resultconection = mysql_connect();
mysql_select_db($database, $resultconection);
$result = mysql_query("select * from tabla where tabla.valor between '$val1' and '$val2'", $resultconection);
while($row = mysql_fetch_array($result))
{
$val1 = $row["valor1"];
$val2 = $row["valor2"];
$val3 = $row["valor3"];
$val4 = $row["valor4"];
?>
<tr align="center" valign="middle">
<td width="40"><h6>
<?php
echo($val1);
?>
</h6></td>
<td width="40"><h6>
<?php
echo($val2);
?>
</h6></td>
<td width="1000"><h6>
<?php
echo($su);
?>
</h6></td>
<td width="800"><h6>
<?php
echo($val3);
?>
</h6></td>
<td width="800"><h6>
<?php
echo($val4);
?>
</h6></td>
</tr>
<?php
}
?>
Espero que te sirva. Saludos lilo.