Minggu, 21 Juli 2013

PHP Indonesia - Facebook: [tanya]

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. NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
[tanya] Jul 21st 2013, 19:04, by Demianus Pangloli

Demianus Pangloli 7:04pm Jul 21
[tanya]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<form id="form1" name="tamu" method="post" action="koneksi.php">
<label></label>
Nama :
<label>
<input name="name" type="text" id="name" />
</label>
<label>
<input type="submit" name="Submit" value="ENTER" />
</label>
</form>
</body>
</html>

koneksi.php
<?php
$nama=$_POST['name'];
mysql_connect("localhost","root","root") or die(mysql_connect());
mysql_select_db("bukutamu");
$proses="INSERT INTO tamu(nama)
VALUES('$nama')";
?>

apa yang salah ya??, kok nd masuk database??(baru belajar :D)

Suhendar Dede 7:07pm Jul 21
include "koneksi.php"; coba koneksinya kaya gini,,hhehehe kalo ga salah ane nubi

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