Jumat, 25 Oktober 2013

PHP Indonesia - Facebook: gn mau tanya nih + bantuan supaya pada bagian peng...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Compare Hotels

Find great prices for amazing hotels wherever your next destination may be. It's simple to search 100+ sites at once!
From our sponsors
gn mau tanya nih + bantuan supaya pada bagian peng...
Oct 25th 2013, 19:15, by Jaka Saputra

Jaka Saputra 7:15pm Oct 25
gn mau tanya nih + bantuan
supaya pada bagian pengisian email & no telpon ga boleh sama gmana gan, harus di tambahkan apa?...
ini script penyimpanannya

<?php
require ("config.php");
$nama =$_POST['nama'];
$alamat =$_POST['alamat'];
$telepon =$_POST['telepon'];
$email =$_POST['email'];
$username =$_POST['username'];
$password =md5($_POST['password']);
$perintah =mysql_query("INSERT INTO tabel_pelanggan (nama,alamat, telepon,email,username,password)
VALUES('$nama','$alamat', '$telepon','$email','$username','$password' )");
if ($perintah) {
echo '<script type="text/javascript">';
echo 'alert("Data Berhasil di simpan, dan lanjutkan untuk login")';
echo'</script>';
include "halaman_order.php";
}else{
echo '<script type="text/javascript">';
echo 'alert("Data Gagal simpan, mohon coba lagi beberapa saat lagi.")';
echo'</script>';
}
?>

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar