Prøv at rette edited.php til:
<?php
include 'mysqlcon.php';
$software = $_POST['name'];
$sql="UPDATE $tbl_name SET software='$software' WHERE id='$id'";
$result=mysql_query($sql);
if($result){
echo "Successful";
echo "<BR>";
echo "<a href='content.php'>View result</a>";
}
else {
echo "ERROR";
}
?>
Indlæg senest redigeret d. 02.08.2007 18:03 af Bruger #11573