-6

当我想使用 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>";
}

?>

有事吗?

4

1 回答 1

0

主机被 DDOS 攻击,数据库被破坏

于 2013-11-12T15:00:35.407 回答