hi,
thanks but unfortunately im already using 'post' with the form.. Im not sure if it will help but this is the editing form:
<form name="form1" method="post" action="editarticle.php?id=
<?
echo $id;
?>
">
<p>The allows you to edit an article. Html code is allowed.</p>
<?
$db = mysql_connect("host", "username", "password");
mysql_select_db("database",$db);
$result = mysql_query("select * from news where id='$id'",$db);
while($row = mysql_fetch_array($result)){
?>
<table width="100%" border="0">
<tr>
<td width="8%">Headline:</td>
<td width="92%"><textarea name="headline" cols="100" id="headline">
<?
echo $row["headline"];
?>
</textarea></td>
</tr>
<tr>
<td height="144">Contents: </td>
<td><p>
<textarea name="contents" cols="100" rows="6" id="contents">
<?
echo $row["content"];
?>
</textarea>
</p></td>
</tr>
<tr><input name="id" type="hidden" value="
<?
echo $row["id"];
?>
">
<td><input type="submit" name="Submit" value="Submit"></td>
<td> </td>
</tr>
</table>
</form>
<?
}
?>
and this is the updating script:
?
$db = mysql_connect("host", "username", "password");
mysql_select_db("database",$db);
$result = mysql_query("update news set headline =('$headline'), content =('$contents') where id='$id'",$db);
?>
as i said in the firstg post, it works fine for shorter edits but seemingly does nothing when a lot is entered...
luke