Veran, tengo este query:
Código PHP:
$sql = "INSERT INTO `quote` ( `contenido` ) VALUES ( '$html' ) ";
mysql_query($sql) or die("Query malo: ".mysql_error());
Código PHP:
$html = "
<table width='750' border='0' align='center' cellspacing='0' cellpadding='0'><tr><td style='border: 1px solid rgb(0, 0, 0)';>
<tr>
<td width='50%'>".$row['nombre']."</td>
<td width='50%'>".$row['correo']."</td>
</tr>
<tr>
<td colspan='2' align='right'>".$row['ciudad']."</td>
</tr>
</table>";
Query malo: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '750' border='0' align='center' cellspacing='0' cellpadding='0'><td style='bo' at line 1
Alguien podria plis ayudarme en esto? A segun yo la sintaxis del insert esta bien, pero esto esta raro XD
Mil gracias de nuevo chicos.