Hallo, ich möchte einen HTML code in meine Tabelle einfügen. bekomme dabei aber immer diese Fehlermeldung.
Müsste doch eigentlich so ok sein?
Hier mal die Variable wo ich den HTML code einfüge:
Code:
You have an error in your SQL syntax near '175' height='200' border='0' cellpadding='0' cellspacing='0'> ' at line 1
Hier mal die Variable wo ich den HTML code einfüge:
PHP-Code:
<?
$vorschaudb="<table width='175' height='200' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td width='175' height='160'><div align='center'>[img][/img]</div></td>
</tr>
<tr>
<td width='175' height='40' bgcolor='e0e0e0'><table width='175' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td height='15' colspan='2'><div align='center'><span class='subline'><span class='Stil5'>Produktbezeichnung</span></span></div></td>
</tr>
<tr>
<td width='25' height='15'><div align='center'>
<input name='bild1high' type='checkbox' id='bild1high' value='1'>
</div></td>
<td width='150' height='15'><span class='Stil7'>Download High (3,45Mb) </span></td>
</tr>
<tr>
<td height='15'><div align='center'>
<input name='bild1low' type='checkbox' id='bild1low' value='1'>
</div></td>
<td height='15' class='Stil7'>Download Low (1,73Mb) </td>
</tr>
</table></td>
</tr>
</table>";
?>
Kommentar