<?php require_once('conexion.php');
mysql_query ("SET NAMES 'utf8'");
$cn= Conectarse();
$listado= mysql_query("SELECT * FROM clientes",$cn);
?>
<script type="text/javascript" language="javascript" src="js/jslistadopaises.js"></script>
<style type="text/css">
</style>
<table cellpadding="0" cellspacing="0" border="0" class="display" id="clientes">
<thead>
<tr>
<th>Apellido</th><!--Estado-->
<th>Nombre</th>
<th>Razon Social</th>
<th>Nombre Fantasia</th>
<th>Cuit/Dni</th>
<th>Direccion</th>
<th>Provincia</th>
<th>Localidad</th>
<th>Acciones</th>
</tr>
</thead>
<tfoot>
<tr>
<th></th>
<th></th>
</tr>
</tfoot>
<tbody>
<?php
while($reg= mysql_fetch_array($listado))
{
echo '<tr>';
echo '<td >'.$reg['apellido'].'</td>';
echo '<td>'.$reg['nombre'].'</td>';
echo '<td>'.$reg['razonSocial'].'</td>';
echo '<td>'.$reg['nombreFantasia'].'</td>';
echo '<td>'.$reg['cuit'].'</td>';
echo '<td>'.$reg['direccion'].'</td>';
echo '<td>'.$reg['provincia'].'</td>';
echo '<td>'.$reg['localidad'].'</td>';
echo '<td><img src="pedidos.png" alt="Pedidos" height="25" width="25"></td>';
echo '</tr>';
}
?>
<tbody>
</table>