Buenos dias!
 
 
Cuando utilizo este codigo los registros de mi base de datos se repiten. Podrían decirme como evito que los registros se repitan. Muchas gracias! Adjunto codigo. 
 
 
 
 
<html>
<head>
 
</head>
 
<body>
 
<?php
 
$con = mysql_connect("localhost", "andres","password" );
if (!$con) {
die ("Cannont connect:" . mysql_error ());
}
 
mysql_select_db("cte",$con);
$sql = "SELECT cliente,cedula,producto,marca FROM clientes,producto";
$myData = mysql_query ($sql,$con);
echo "<table border=1> 
<tr>
<th>Cliente</th>
<th>Cedula</th>
<th>Producto</th>
<th>Marca</th>
</tr>";
 
while ($record = mysql_fetch_array($myData)){
 
echo "<tr>";
echo "<td>" . $record['cliente'] . "</td>"; 
echo "<td>" . $record['cedula'] . "</td>"; 
echo "<td>" . $record['producto'] . "</td>"; 
echo "<td>" . $record['marca'] . "</td>";
}
 
echo "</table>";
 
 
die(mysql_error());
 
mysql_close ($con); 
 ?>
 
?>
</body>
</html> 
   
 

 
  
 

