woodie
Expert
- Lid geworden
- 28 aug 2008
- Berichten
- 243
- Waarderingsscore
- 0
Ik heb echt alles nagekeken en ik kan het echt niet vinden...
heeft iemand enig idee wat hier mis mee is?
ik hoop dat iemand me kan helpen :huh:
heeft iemand enig idee wat hier mis mee is?
ik hoop dat iemand me kan helpen :huh:
PHP:
$stid = $_GET['stid'];
$titel = $_POST['oldtitel'];
$promo = $_POST['oldpromo'];
$bericht = $_POST['oldbericht'];
$game = $_POST['oldgame'];
$mode = $_POST['oldmode'];
$computer = $_POST['oldcomputer'];
$auto = $_POST['oldauto'];
$script = $_POST['oldscript'];
$sport = $_POST['oldsport'];
$result = mysql_query("UPDATE news SET titel='$titel', bericht='$bericht', promo='$promo', game='$game', mode='$mode', computer='$computer', auto='$auto', script='$script', sport='$sport' WHERE id='$stid'");
while($row = mysql_fetch_array($result))
{
header("location:index.php");
}
mysql_close($con);
?>