Heres the code,can u help???
The MySQL field is LONGTEXT.
Code:
<html>
<head>
<title>Post Literature Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="Javascript1.2"><!-- // load htmlarea
_editor_url = ""; // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
document.write(' language="Javascript1.2"></scr' + 'ipt>');
} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
// --></script>
</head>
<link href="../css/text_content.css" rel="stylesheet" type="text/css">
<link href="../css/table.css" rel="stylesheet" type="text/css">
<body leftmargin="0" topmargin="0" marginwidth="0">
<script language="JavaScript1.2" defer>
editor_generate('content');
</script>
<table width="800" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#CCCCCC">
<td height="46" colspan="3" valign="top" class="textcontent"><a href="../test.php">apartment27:
reEntry</a> > <strong>Administrator's Page</strong></td>
</tr>
<tr>
<td width="13" height="59"> </td>
<td width="532"> </td>
<td width="255"> </td>
</tr>
<tr>
<td height="356"> </td>
<td valign="top" class="textcontent"> <form method="POST" name="upload" id="upload" action="../literature/litconfirm.php">
<strong>Type of Literature</strong> :
<select name="tol" size="1" class="textcontent" >
<option selected value="Short Story">Short Stories</option>
<option value="Abstract/Articles">Abstract/Articles</option>
<option value="Poetry/Songs">Poems/Poetry/Songs/Sonnets</option>
</select>
<br>
<br>
<strong>Name of Literature</strong> :
<input name="name" type="text" size="25" class="textcontent">
<br>
[A name could be preferable, If this is a part of sequence, please state
it clearly;<br>
for eg: <em>Joey's Coffee House Disaster: Part 1</em>] <br>
<br>
<br>
<strong>Literature Content</strong> :<br>
[Please spell check,and proof-read content beforehand]<br>
<strong>Press SHIFT+ENTER for linebreaks</strong> <br>
Select a Font and Font size prior to typing.Alternately,you can copy/cut-paste
content from any text editor (Microsoft Word/Notepad etc.)<br>
<br>
<br>
<textarea name="content" rows="10" cols="70"></textarea>
<br>
<br>
<br>
<strong>Author of the Literary Work</strong> :
<input name="author" type="text" class="textcontent">
<br>
<br>
<input value="Upload !!" type="submit" class="textcontent" >
</form ></td>
<td> </td>
</tr>
<tr>
<td height="49"> </td>
<td> </td>
<td> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td height="19" colspan="3" valign="top" class="textcontent">apartment27 :
reEntry © 2004-2005 (Hrishikesh Ghan's portfolio Site)</td>
</tr>
</table>
</body>
</html>
Please comment on this code.Copy + Paste from Word is not supported.