Bu bir tabloyu güncelleştirmek için benim kodudur. Benim sorunum taze bir rekor gönderdikten sonra ben ilk defa (boş gösteriyor) güncellemek mümkün değilim, ama ikinci kez çalışıyor olmasıdır.
Bir şey daha: Ben include ifadesini kaldırın o zaman herhangi bir phpcode orada hiçbir submessage.php üzerinde iyi çalışıyor. [annakata: I have no idea what this means]
$pid = $_GET['id'];
$title = $_POST['title'];
$summary = $_POST['summary'];
$content = $_POST['content'];
$catid = $_POST['cid'];
$author = $_POST['author'];
$keyword = $_POST['keyword'];
$result1= mysql_query("update listing set catid='$catid',title='$title',
summary='$summary',content='$content', author='$author', keyword='$keyword' where pid='$pid'",$db);
include("submessage.php");