当我想使用save.php按钮将数据保存到数据库时,我的浏览器显示NO Data Received并且数据未保存在数据库中?
<?php
include 'database.php';
$nama = $_POST['nama'];
$jalan = $_POST['jalan'];
$lat = $_POST['lat'];
$lng = $_POST['lng'];
$deskripsi = $_POST['deskripsi'];
$kueri = mysql_query("INSERT INTO wisata (nama, jalan, lat, lng, deskripsi) VALUES ('$nama', '$jalan', '$lat', '$lng','$deskripsi');");
if($kueri){
echo "Data berhasil disimpan<br>
<a href=\"index.php\">Kembali</a>";
} else {
echo "Data gagal disimpan<br>
<a href=\"index.php\">Kembali</a>";
}
?>
出了什么问题?
答案 0 :(得分:0)
主机受DDOS攻击,数据库被破坏