Czesc, mam problem, chce aby wyswietlalo sie echo przy nacisnieciu na button, lecz gdy to robie nic sie nie dzieje. Linijka 7/8
<?php include 'connect.php';?>
<?php
$idUpdate = $_POST[''];
$titleUpdate = $_POST['title'];
$contentUpdate = $_POST['content'];
$dateUpdate = $_POST['date'];
if(isset($POST['update'])){
};
?>
<html>
<head>
</head>
<body>
<?php
$sql = mysql_query("SELECT * FROM blogData ORDER BY id DESC"); $id = $row['id'];
$title = $row['title'];
$content = $row['content'];
$date = $row['date'];
?>
<div class="newEdit">
<form method="post" action="news_controll.php">
<input name="id" value="
<?php echo $id; ?>">
<br>
<br>
<input type="text" name="title" value="
<?php echo $title; ?>">
<br>
<input type="text" name="date" value="
<?php echo $date; ?>">
<br>
<textarea name="content">
<?php echo $content ?></textarea>
<button id="buttonLogin" name="update" type="submit">Update</button>
</form>
</div>
<?php
}
?>
</body>
</html>