Lo que quiero hacer es solamente poder mostrar una consulta Sql en una tabla. Lo unico que he logrado es que me muestre la primer fila nada mas. Creo que hay que usar un ciclo(me imagino, nada mas

Aqui les pongo mi codigo aver si me pueden dar una manito.
<html>
<body>
<?php
include('conexion.php');
$con=conexion();
$consulta = "select * from obras_sociales";
$x=mysql_query($consulta);
//$n=mysql_num_rows($x);
$datos=mysql_fetch_row($x);
print("<table border=1 align=center width=100%>
<tr>
<th BGCOLOR = #FFAA56>ID OS </th>
<th BGCOLOR = #FFAA56>OBRA SOCIAL</th>
<th BGCOLOR = #FFAA56>DESCRIPCION</th>
<th BGCOLOR = #FFAA56>TELEFONO</th>
</tr>
</table>");
$cadena="<table border=1 align=center width=100%>
<tr>
<td ALIGN = CENTER>$datos[0]</td> <td ALIGN = CENTER>$datos[1]</td>
<td ALIGN = CENTER>$datos[2]</td> <td ALIGN = CENTER>$datos[3]</td>
</tr>
</table>";
print($cadena);
?>
</body>
</html>
Desde ya muchas gracias a todos