phelixx
Dec 17th 2007, 11:58 pm
Would anyone have any idea what is prventing this query from being inserted into mysql? I am trying to insert html into a mysql database. I am running these commands around the contents:
$content = $_POST['FCKeditor1'];
$content = htmlspecialchars($content);
and this is the query that it shows when doing a view source.
insert into front ('content','title','thedate') values ('<p>&nbsp;</p>
<table cellspacing=\"1\" cellpadding=\"1\" width=\"200\" border=\"1\">
<tbody>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>','rterte','1197964757')
Thanks.
$content = $_POST['FCKeditor1'];
$content = htmlspecialchars($content);
and this is the query that it shows when doing a view source.
insert into front ('content','title','thedate') values ('<p>&nbsp;</p>
<table cellspacing=\"1\" cellpadding=\"1\" width=\"200\" border=\"1\">
<tbody>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>','rterte','1197964757')
Thanks.