Jumat, 05 Juli 2013

<form name="form1" method="post" action="prosesEbo...

Thank you for using rssforward.com! This service has been made possible by all our customers. In order to provide a sustainable, best of the breed RSS to Email experience, we've chosen to keep this as a paid subscription service. If you are satisfied with your free trial, please sign-up today. Subscriptions without a plan would soon be removed. Thank you!
Last Mint 12:55am Jul 6
<form name="form1" method="post" action="prosesEbook.php">
<p>Data E-book</p>
<p>Judul Buku :
<label for="fjudul"></label>
<input type="text" name="fjudul" id="fjudul">
</p>
<p>jurusan :
<label for="fjurusan"></label>
<input type="text" name="fjurusan" id="fjurusan">
</p>
<p>Karangan :
<label for="fkarangan"></label>
<input type="text" name="fkarangan" id="fkarangan">
</p>
<p>Tahun :

<label for="ftahun"></label>
<input type="text" name="ftahun" id="ftahun">
</p>
<p>Sinopsis :
<label for="fsinopsis"></label>
<textarea name="fsinopsis" id="fsinopsis" cols="45" rows="5"></textarea>
</p>
<p>
<input type="submit" name="button" id="button" value="Submit">
</p>
</form>

proses ebooooooooooooooooooook
<?php
//input data ke database
//1.koneksi ke mysql
mysql_connect("localhost","root","");

//2.pilih database yang akan di pakai
mysql_select_db("elearningsmk");

//3.input data ke dalam tabel
$tambahData=mysql_query("insert into ebook set
judul='$fjudul',
jurusan='$fjurusan',
sinopsis='$fsinopsis',
karangan='$fkarangan',
tahun='$ftahun'");

//4. mengecek keberhasilan langkah 3
if($tambahData) //if=jika
{
echo"data berhasil di infut";//echo digunakan untuk mencetak kedalam browser
}
else// selin itu
{
echo"data gagal di input<br>".mysql_error();// mysql_error=menepilkan kesalahan sql
}
?>

kok databasenya gak nampil ya gan salah dimn ya input datanya??????

Ari Julianto de Amuzong 1:03am Jul 6
salah query om.... kalo insert formulanya
INSERT into TABELNAME(field1, field2, field3, ...) values('val1', val2', val3', ...)

Awal Sams U 1:05am Jul 6
Query'a salah Om...

Last Mint 1:06am Jul 6
bisa tandai send ulang gak om mna aja yg salah

Ari Julianto de Amuzong 1:07am Jul 6
kalo set field='value' itu untuk query update om
UPDATE tabelname set field1='val1', field2='val2', ... {where ...}

Ipin Caem 1:12am Jul 6
kurang ini
$fjudul = $_POST['fjudul'];
Dan seterusnya..

Fariz Yoga Syahputra 1:21am Jul 6
itu pendeklarasian string pist blm ada dan query nya jg salah

Pahmi Ritonga 1:22am Jul 6
yg no 3 dan 4 cb ganti sm ini gan,,, <?php
$fjudul=$_POST['fjudul'];
$fjurusan=$_POST['fjurusan'];
$fsinopsis=$_POST['fsinopsis'];
$fkarangan=$_POST['fkarangan'];
$ftahun=$_POST['tahun'];

$CONN= mysql_connect("localhost","root","");

mysql_select_db("elearningsmk");

$sql= "INSERT into ebook(isi dengan field yg ada didatabase dipisah dengan koma(,))
VALUES('$fjudul','$fstatus','$fjurusan','$fsinopsis','$fkarangan','$ftahun')";

$hasil=mysql_query($sql,$CONN);

if($hasil){
echo"<blink>Data BERHASIL DIINPUT</blink>";
}

else
{
echo"data gagal di input<br>".mysql_error();
}
?>

CMIIW

Last Mint 1:23am Jul 6
data gagal di input
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dengan field yg ada didatabase dipisah dengan koma(,)) VALUES('','','','','',''' at line 1

Last Mint 1:23am Jul 6
itu mbak keterangannya

Ari Julianto de Amuzong 1:23am Jul 6
juahhh, jangan diketik "dengan field yg ada didatabase dipisah dengan koma(,)) " di querynya dong om.... aduhhh

Pahmi Ritonga 1:26am Jul 6
yg keterangannya diganti donk gan,, sesuaiin sm fiels yg ada ditabelnya,, CMIIW

Pahmi Ritonga 1:29am Jul 6
$sql= "INSERT into ebook(field1,field2,field3,field4,field5) CMIWW

Last Mint 06 Jul, 2013


-
Source: http://www.facebook.com/groups/35688476100/?id=10151738010976101
--
Manage subscription | Powered by rssforward.com

permisi,agan2 PHP Indonesia,ada yang tahu pengguna...

Thank you for using rssforward.com! This service has been made possible by all our customers. In order to provide a sustainable, best of the breed RSS to Email experience, we've chosen to keep this as a paid subscription service. If you are satisfied with your free trial, please sign-up today. Subscriptions without a plan would soon be removed. Thank you!
Layvinne Ricka Aspire 1:30am Jul 6
permisi,agan2 PHP Indonesia,ada yang tahu penggunaan wapache?mohon bantuannya,
:)

Aripin Acer 1:32am Jul 6
gelar tiker ah...

Layvinne Ricka Aspire 1:36am Jul 6
ane uda gelar dari td,coz sepertinya dibawah td da yang posting tentang wapache,tp koq cuma link downloadny ja,g ada tutorial penggunaannya,penasaran ane :)

Mizno Kruge 1:39am Jul 6
please read de documentation, mister

Raga Subekti 1:48am Jul 6
^ yap, above me that's true, there was documentation, read it

Layvinne Ricka Aspire 06 Jul, 2013


-
Source: http://www.facebook.com/groups/35688476100/?id=10151738115686101
--
Manage subscription | Powered by rssforward.com

WTS Apple iPhone 5 4G 32GB Unlocked... $450Buy 5...

Thank you for using rssforward.com! This service has been made possible by all our customers. In order to provide a sustainable, best of the breed RSS to Email experience, we've chosen to keep this as a paid subscription service. If you are satisfied with your free trial, please sign-up today. Subscriptions without a plan would soon be removed. Thank you!
Elena Paulson 11:37pm Jul 5
WTS Apple iPhone 5 4G 32GB Unlocked... $450

Buy 5 get 1 free discount sales

Contact Skype ID :- Omni.trade1

Elena Paulson 06 Jul, 2013


-
Source: http://www.facebook.com/groups/35688476100/?id=10151737925031101
--
Manage subscription | Powered by rssforward.com

mas mau tanya cara edit session dibawah ini bagaim...

Thank you for using rssforward.com! This service has been made possible by all our customers. In order to provide a sustainable, best of the breed RSS to Email experience, we've chosen to keep this as a paid subscription service. If you are satisfied with your free trial, please sign-up today. Subscriptions without a plan would soon be removed. Thank you!
Dharmawan Adi Saputra 10:27pm Jul 5
mas mau tanya cara edit session dibawah ini bagaimna agar user dan passowd itu didatabase?

<?php
session_start();
if(isset($_GET['logout'])){
session_destroy();
header('location: ?keluar=sukses');
}
if($_SERVER['REQUEST_METHOD'] == 'POST'){
if ($_POST['user']=='admin' && (md5($_POST['password'])== '21232f297a57a5a743894a0e4a801fc3')) {
$_SESSION['is_login'] = TRUE;
header('location: ?sukses');
}
else{
echo "User or Password salah";
}
}
if(!isset($_SESSION['is_login'])):
?>

trims

Fikri Handa Herriansyah 10:32pm Jul 5
udah buat database ?

Dharmawan Adi Saputra 10:33pm Jul 5
sudah selngkap didatabase. cuma bingung syntax manggil user dan pass aja'

Dharmawan Adi Saputra 06 Jul, 2013


-
Source: http://www.facebook.com/groups/35688476100/?id=10151737835571101
--
Manage subscription | Powered by rssforward.com

permisi master2 mau minta tolong nih ada yang puny...

Thank you for using rssforward.com! This service has been made possible by all our customers. In order to provide a sustainable, best of the breed RSS to Email experience, we've chosen to keep this as a paid subscription service. If you are satisfied with your free trial, please sign-up today. Subscriptions without a plan would soon be removed. Thank you!
Mio Kudus 8:32pm Jul 5
permisi master2 mau minta tolong nih ada yang punya panduan sms gateway utuk pemula gak ,udah browsing tapi gak dapat2

Firmansyah Firexas 8:36pm Jul 5
browsing dlu banyak ko..."sms gateway dengan php"..

Mio Kudus 06 Jul, 2013


-
Source: http://www.facebook.com/groups/35688476100/?id=10151737673936101
--
Manage subscription | Powered by rssforward.com

www.epsyy.comAutolike | Auto Comment | Auto Follo...

Thank you for using rssforward.com! This service has been made possible by all our customers. In order to provide a sustainable, best of the breed RSS to Email experience, we've chosen to keep this as a paid subscription service. If you are satisfied with your free trial, please sign-up today. Subscriptions without a plan would soon be removed. Thank you!
Âŀŀu Jøśhī 8:09pm Jul 5
www.epsyy.com
Autolike | Auto Comment | Auto Follow|
All 100% Working | No Spam
Easy Login No Token Needed
Google chrome Extension Added
________________
Full Php
Script Also For Sale Contact Me

Âŀŀu Jøśhī 06 Jul, 2013


-
Source: http://www.facebook.com/groups/35688476100/?id=10151737639046101
--
Manage subscription | Powered by rssforward.com

[ASK][SQL] - Slmt siang menuju sore gan :) Permis...

Thank you for using rssforward.com! This service has been made possible by all our customers. In order to provide a sustainable, best of the breed RSS to Email experience, we've chosen to keep this as a paid subscription service. If you are satisfied with your free trial, please sign-up today. Subscriptions without a plan would soon be removed. Thank you!
Rizky Muhammad 7:33am Jul 5
[ASK][SQL] - Slmt siang menuju sore gan :)
Permisi saya mau bertanya. Saya ingin menampilkan semua field di table hasil dari group by. Kalau di MySQL SQL nya gini gan : "SELECT * FROM nama_table GROUP BY nama_field" itu bisa.
tp untuk kasus saya skrg sya menggunakan DB Ms. ACCESS dan SQL di atas tidak bisa di eksekusi gan. Kira kira bagaimana sql nya gan untuk access ? Terima Kasih :)

Rizky Muhammad 05 Jul, 2013


-
Source: http://www.facebook.com/groups/35688476100/?id=10151736697376101
--
Manage subscription | Powered by rssforward.com