il campo sul db è già impostato su text
se vuoi ti posto il codice della pagina poikè la pagina è protetta:
Codice HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>deBBeditor 1.0</title>
<style type="text/css">
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
background-color: #E2E2E2;
margin: 0px;
padding: 0px;
}
form {
display: inline;
}
pre {
background-color: #EFEFEF;
padding: 3px;
margin: 5px;
border: 1px dashed #000;
}
#td-strumenti {
background-color: #ECE9D8;
border: 1px outset;
padding: 2px;
text-align: left;
}
#td-textarea {
background-color: #FFF;
}
#anteprima {
width: 500px;
border: 1px solid #ECE9D8;
background-color: #FFF;
padding: 4px;
text-align: left;
border: 2px solid #999;
}
.btn {
border: 1px solid #ECE9D8;
}
.btn:hover {
border: 1px solid #000;
}
</style>
<script type="text/javascript" src="editor.js"></script>
</head>
<body onload="document.editor.testo.focus();"><div align="center">
<br /><form action="inserimento_record.php" name="editor" id="editor" method="get">
<table style="border: 1px solid #000; width: 500px;" cellspacing="0" cellpadding="0">
<tr>
<td><strong>autore:</strong></td>
</tr>
<tr>
<td>
<input type="text" name="autore" size="50" />
</td>
</tr>
<tr>
<td><strong>titolo:</strong></td>
</tr>
<tr>
<td>
<input type="text" name="titolo" size="50" />
</td>
</tr>
<tr>
<td>
<strong>descrizione</strong> : </td>
</tr>
<tr>
<td id="td-strumenti"><!-- strumenti -->
<a href="javascript:insert_tag('B');" onfocus="blur();"><img src="img/text_bold.png" alt="Bold" width="16" height="16" border="0" title="Bold" class="btn" /></a>
<a href="javascript:insert_tag('I');" onfocus="blur();"><img src="img/text_italic.png" width="16" height="16" border="0" alt="Italic" title="Italic" class="btn" /></a>
<a href="javascript:insert_tag('U');" onfocus="blur();"><img src="img/text_underline.png" width="16" height="16" border="0" alt="Underline" title="Underline" class="btn" /></a>
<a href="javascript:insert_tag('S');" onfocus="blur();"><img src="img/text_strike.png" width="16" height="16" border="0" alt="Strike" title="Strike" class="btn" /></a>
<img src="img/separatore.gif" alt="" width="7" height="16" border="0" />
<a href="javascript:insert_tag('SUB');" onfocus="blur();"><img src="img/text_subscript.png" width="16" height="16" border="0" alt="Sub" title="Sub" class="btn" /></a>
<a href="javascript:insert_tag('SUP');" onfocus="blur();"><img src="img/text_superscript.png" width="16" height="16" border="0" alt="Sup" title="Sup" class="btn" /></a>
<img src="img/separatore.gif" alt="" width="7" height="16" border="0" />
<a href="javascript:insert_list_n();" onfocus="blur();"><img src="img/text_list_numbers.png" width="16" height="16" border="0" alt="Lista numerica" title="Lista numerica" class="btn" /></a>
<a href="javascript:insert_list_p();" onfocus="blur();"><img src="img/text_list_bullets.png" width="16" height="16" border="0" alt="Lista puntata" title="Lista puntata" class="btn" /></a>
<img src="img/separatore.gif" alt="" width="7" height="16" border="0" />
<a href="javascript:insert_tag('LEFT');" onfocus="blur();"><img src="img/text_align_left.png" width="16" height="16" border="0" alt="Allineamento sinistro" title="Allineamento sinistro" class="btn" /></a>
<a href="javascript:insert_tag('CENTER');" onfocus="blur();"><img src="img/text_align_center.png" width="16" height="16" border="0" alt="Allineamento centrato" title="Allineamento centrato" class="btn" /></a>
<a href="javascript:insert_tag('RIGHT');" onfocus="blur();"><img src="img/text_align_right.png" width="16" height="16" border="0" alt="Allineamento destro" title="Allineamento destro" class="btn" /></a>
<img src="img/separatore.gif" alt="" width="7" height="16" border="0" />
<a href="javascript:insert_tag('CODE');" onfocus="blur();"><img src="img/text_code.png" width="16" height="16" border="0" alt="Codice" title="Codice" class="btn" /></a>
<br />
<a href="javascript:insert_tag('H1');" onfocus="blur();"><img src="img/text_heading_1.png" width="16" height="16" border="0" alt="H1" title="H1" class="btn" /></a>
<a href="javascript:insert_tag('H2');" onfocus="blur();"><img src="img/text_heading_2.png" width="16" height="16" border="0" alt="H2" title="H2" class="btn" /></a>
<a href="javascript:insert_tag('H3');" onfocus="blur();"><img src="img/text_heading_3.png" width="16" height="16" border="0" alt="H3" title="H3" class="btn" /></a>
<a href="javascript:insert_tag('H4');" onfocus="blur();"><img src="img/text_heading_4.png" width="16" height="16" border="0" alt="H4" title="H4" class="btn" /></a>
<a href="javascript:insert_tag('H5');" onfocus="blur();"><img src="img/text_heading_5.png" width="16" height="16" border="0" alt="H5" title="H5" class="btn" /></a>
<a href="javascript:insert_tag('H6');" onfocus="blur();"><img src="img/text_heading_6.png" width="16" height="16" border="0" alt="H6" title="H6" class="btn" /></a>
<img src="img/separatore.gif" alt="" width="7" height="16" border="0" />
<a href="javascript:insert_tag('MAIUSCOLO');" onfocus="blur();"><img src="img/text_allcaps.png" width="16" height="16" border="0" alt="Maiuscolo" title="Maiuscolo" class="btn" /></a>
<a href="javascript:insert_tag('MAIUSCOLETTO');" onfocus="blur();"><img src="img/text_smallcaps.png" width="16" height="16" border="0" alt="Maiuscoletto" title="Maiuscoletto" class="btn" /></a>
<img src="img/separatore.gif" alt="" width="7" height="16" border="0" />
<a href="javascript:insert_dataora();" onfocus="blur();"><img src="img/text_time.png" width="16" height="16" border="0" alt="Data e ora" title="Data e ora" class="btn" /></a>
<a href="javascript:insert_link();" onfocus="blur();"><img src="img/text_link.png" width="16" height="16" border="0" alt="Link" title="Link" /></a>
<a href="javascript:insert_img();" onfocus="blur();"><img src="img/text_insert_image.png" width="16" height="16" border="0" alt="Immagine" title="Immagine" /></a>
<img src="img/separatore.gif" alt="" width="7" height="16" border="0" />
<a href="javascript:insert_interruzione();" onfocus="blur();"><img src="img/text_insert_pagebreak.png" width="16" height="16" border="0" alt="Interruzione di pagina" title="Interruzione di pagina" class="btn" /></a>
<img src="img/separatore.gif" alt="" width="7" height="16" border="0" />
<a href="javascript:anteprima();" onfocus="blur();"><img src="img/anteprima.gif" width="51" height="16" border="0" alt="Anteprima" title="Anteprima" class="btn" /></a></td>
</tr>
<tr>
<td align="center" id="td-textarea"><!-- textarea -->
<textarea name="descrizione" cols="59" rows="10" wrap="VIRTUAL" id="testo" tabindex="1"></textarea></td>
</tr>
<tr>
<td align="center"><!-- submit -->
<input type="submit" name="Submit" value="Invia" tabindex="2" />
</td>
</tr>
</table></form>
<br /><br />
<a href="http://creativecommons.org/licenses/by/3.0/deed.it"><img src="img/cclicense.png" alt="Copyleft" width="80" height="15" border="0" title="Copyleft" /></a><br />
Questo software è rilasciato sotto <a href="http://creativecommons.org/licenses/by/3.0/deed.it">licenza CreativeCommons</a><br />
<a href="http://www.famfamfam.com/lab/icons/silk/" target="_blank">Icone by famfamfam</a>
</div>
</body>
</html>