Testimonial

Semua form harus diisi
"; }else{ $gondes=mysqli_query($db, "SELECT * FROM $tabel order by urutan+00 desc limit 0,1"); $gondes2=mysqli_num_rows($gondes); if ($gondes2 < 1){ $urutan="1"; }else{ $gondes3=mysqli_fetch_array($gondes); $urutan=$gondes3['urutan']+1; } $miyabi=mysqli_query($db, "insert into $tabel (judul,testimoni,asal,urutan,tanggal,aktif,email,produk) VALUES ( '".antimaling($_POST['judul'])."','".ubahhtml($_POST['testimoni'])."','".antimaling($_POST['asal'])."','$urutan','$date','0','".ubahhtml($_POST['email'])."','".antimaling($_POST['produk'])."')"); $produk=mysqli_fetch_array(mysqli_query($db, "SELECT * FROM produk where id_produk='".antimaling($_POST['produk'])."' order by id_produk desc limit 0,1")); $telorasin=mysqli_fetch_array(mysqli_query($db, "SELECT * FROM $tabel where judul='".antihtml($_POST['judul'])."' order by id_testimoni desc limit 0,1")); //UPLOAD GAMBAR $urls = "images/".$tabel; if(!file_exists($urls)) { chmod("images", 0777); mkdir($urls, 0777, true); chmod($urls, 0755); }else{ chmod($urls, 0777); } for($i=0;$i Asal ".antimaling($_POST['asal'])." Email/No. HP ".antimaling($_POST['email'])." Produk ".antimaling($produk['judul'])." Testimonial ".antimaling($_POST['testimoni'])."

Sent from : $ip

"; echo "
Terima kasih telah mengisi testimonial.
"; echo ""; } } //SIMPAN ?>

Nama

Email / No. HP

Photo