I wrote a nice newsletter with php/mysql.
In IE everything works fine. But when I use Opera and try to update a db entry I get this warning:
connection terminated by server.
Code to update the DB is this:
<?php session_start();
include("config.php");
include("header.php");
$conn=mysql_connect("$host_name","$db_user","$db_pass") or die(mysql_error());
mysql_select_db("$db_name",$conn);
$artikeltje_id=$_POST["artikeltje_id"];
$titel=$_POST["titel"];
$artikel=addslashes($_POST["artikel"]);
$volgorde=$_POST["volgorde"];
$conn=mysql_connect("$host_name","$db_user","$db_pass");
mysql_select_db("$db_name",$conn);
mysql_query("UPDATE $artikelen_tabel SET titel='$titel', artikel='$artikel', volgorde='$volgorde' WHERE id='$artikeltje_id'");
print"<a href='admin.php'>Terug naar admin pagina</a>";
?>
Can anyone tell me what is going on here? And how to resolve it?
thanx, Sugradh