Morning All,
I am having a few problems with this code below, been trying to figure out where i'm going wrong, can any one shead some light to where I may be going wrong? I keep getting a 500 Server Error, when trying to process the form
Thanks
<?php
include('config.inc');
$1st_body = mysql_real_escape_string( stripslashes( $_POST[ '_1st_body' ] ) );
$id=$_GET['1st_rem_id'];
mysql_select_db($dbname);
$sql="UPDATE db SET 1st_body='$1st_body' WHERE 1st_rem_id='$id'";
$result=mysql_query($sql);
if (!mysql_query($sql))
{
die('Error: ' . mysql_error());
}
header("Location: 1st_not.php");
mysql_close()
}
?>