Selasa, 13 Agustus 2013

PHP Indonesia - Facebook: [ask] bagaimana caranya kalo data udah ada di dat...

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/ 
[ask] bagaimana caranya kalo data udah ada di dat...
Aug 14th 2013, 06:06, by Ilham Syaputra

Ilham Syaputra 6:06am Aug 14
[ask]

bagaimana caranya kalo data udah ada di database bukan menambah data dengan user yang sama? tapi langsung replace isi data dari user itu??

misal
user nya ilham terus ada post : 2
terus kalo dia submit post otomatis replace isi dari post, bukan buat data baru dengan nama user yang sama??
mohon bimbingannya

Ruli Armando 6:08am Aug 14
ya diupdate saja

Ilham Syaputra 6:10am Aug 14
kodingnya gimana?? :/

Muhammad Taufiq Hidayat 6:11am Aug 14
mysql update,
googling brow

Ruli Armando 6:11am Aug 14
untuk koding nya silakan merujuk ke Mysql manual

sebagai clue saya kasih sedikit

UPDATE user SET content = "blablablablabla" WHERE username = 'ilham';

Pradipta Hegaaz 6:12am Aug 14
jangan lupa Where index_table=n

Jendro Purnomo 6:19am Aug 14
emang tujuannya buat apa bang ? hehe
apa ga mending buat baru aja, kan data yang lama bisa buat history atau apa gitulah

Pradipta Hegaaz 6:20am Aug 14
nyampah kali :v kalo ga diperluin mah.

Jendro Purnomo 6:22am Aug 14
buat kepo kan seru :v haha
atau mungkin tabelnya belum normal ?

Ilham Syaputra 6:23am Aug 14
pake if nggak??

Muhammad Taufiq Hidayat 6:24am Aug 14
apa masalahnya sama If

Muhammad Taufiq Hidayat 6:24am Aug 14
mysql update,
googling dulu brow, banyak ntuh, di gogle

Ilham Syaputra 6:24am Aug 14
soalnya ada yang daftar itu pake if?? :/

Ruli Armando 6:24am Aug 14
boleh ditambahkan if sesuai selera

Muhammad Taufiq Hidayat 6:25am Aug 14
kalau gak paham" baru nanya, ada om Gunawan Mujur Wibisono yg pasti membantu mengasah logika mu

Ilham Syaputra 6:47am Aug 14
masih bingung mas :/

Ruli Armando 6:48am Aug 14
istirahat dulu aja, jangan ngoding terus...nti lanjut lagi

Dhiaz Sakha Argani 6:53am Aug 14
[ask]
bang klo erorr gini kesalhan di database nya apa di kode scriptnya...
Duplicate entry '0' for key 'PRIMARY'
makasih?

Coki Widodo 6:57am Aug 14
prymary keynya dia buat auto

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

PHP Indonesia - Facebook: Maaf Agan, Mau tanya nih....kalau semisal halaman ...

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/ 
Maaf Agan, Mau tanya nih....kalau semisal halaman ...
Aug 14th 2013, 06:14, by Adnan Muhtadin

Adnan Muhtadin 6:14am Aug 14
Maaf Agan, Mau tanya nih....kalau semisal halaman panel admin kelupaan user sama password itu solusinya gmn ya gan? sudah di coba ngerubah di di database phpmyadmin dengan merubah fungsi passwd mnjadi MD5 tp masih ga bisa solusinya gmn ya gan....Terimakasih banyak sebelumnya :)

Ruli Armando 6:18am Aug 14
di reset

Mizno Kruge 6:18am Aug 14
maaf mas... dukun sekalipun gak tau isi aplikasinya apa. gimana kita. source code gak ada, struktur db gak ada. kita semua bukan dukun. jangan dikasih tebak2an

Ruli Armando 6:19am Aug 14
o ini belum buat fungsi reset nya ya.

klo hash nya pake md5 tinggal masukkin aja 12345 di md5 kan dulu baru di update password field nya

Danny Luffy 6:19am Aug 14
:ngeriii

Adnan Muhtadin 6:24am Aug 14
@ruli armando : iya mas tidak ada fungsi resetnya jadi langsung ke db nya mas, cb nanti saya cb kasih fungsi resetnya.Thanks ya mas Ruli..semoga ilmunya bermanfaat...:) buat temen" yang laen terimaksih jg...Maaf masih newbie :)

Ruli Armando 6:27am Aug 14
semoga berhasil

Adnan Muhtadin 6:27am Aug 14
Amin mas...:)

Limb Gultom 6:34am Aug 14
rubah di tabel database pass n user adminnya... ganti az dng char biasa dulu..
trus di proses loginnya ubah ga usah pake MD5 dulu...

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

PHP Indonesia - Facebook: [ask] agan2 saya script saya kaya gini tapi datany...

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/ 
[ask] agan2 saya script saya kaya gini tapi datany...
Aug 14th 2013, 06:50, by Queinsha Bee Lily

Queinsha Bee Lily 6:50am Aug 14
[ask]
agan2 saya script saya kaya gini tapi datanya ga bisa diubah,,
$profil = $_POST['profil'];
$alamat = $_POST['alamat'];
$nama = $_POST['nama'];
$email = $_POST['email'];
$telpon = $_POST['telpon'];
$nilai = $_POST['nilai'];
$user_id = $_POST['user_id'];
$user_psw = $_POST['user_psw'];
$idubah= $_GET['idubah'];

$sql ="UPDATE anggota SET
nama='$nama',
alamat='$alamat',
profil='$profil',
email='$email',
telpon='$telpon',
nilai='$nilai',
user_id='$user_id',
user_psw='$user_psw'
WHERE id_daftar='$idubah'";

$query=mysql_query($sql) or die("<script type='text/javascript'>alert('Data gagal Diubah');</script>");
if($query){
echo"<script type='text/javascript'>alert('Data Berhasil Diubah');document.location='?admin=anggota/anggotatampil';</script>";
}

>> yang jadi masalah datanya ga bisa di update,, tetep data awal.. mohon pencerahannya,,

EL-Greshard 6:55am Aug 14
coba di echo $sql <- nya isi dari masing2 variabel apa.. dah benner atau gk..

EL-Greshard 6:55am Aug 14
klw dah benner, coba lihat koneksi ke dbnya dah di open blom..

Ahmad Afandi 6:57am Aug 14
cek query sqlnya lebih dahulu seperti kata agan diatas

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

PHP Indonesia - Facebook: [ASK] gan,ane mau nyoba fungsi php file_get_conten...

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/ 
[ASK] gan,ane mau nyoba fungsi php file_get_conten...
Aug 14th 2013, 05:00, by Bayu Lukman Yusuf

Bayu Lukman Yusuf 5:00am Aug 14
[ASK] gan,ane mau nyoba fungsi php file_get_content();
contoh : file_get_content("asd.txt");
klo misalkan file asd.txt tidak ada terus muncul pesan "File tidak ada" gimana gan :). thx :)

Asrul Alfi Syahrin 5:02am Aug 14
mungkin filenya bisa di cek dulu sama file_exists

Slamet Aprilianto 5:03am Aug 14
Pake file_exists() buat ngecek filenya ad apa nggak. Kalo ada, isinya br diambil

Bayu Lukman Yusuf 5:04am Aug 14
oke oke :D
tp klo misalkan ambil datanya dari internet juga pake file exists?

Gunawan Mujur Wibisono 5:05am Aug 14
.....ini mau ask ato mau nguji? coba jelaskan mau kau gunakan di coding mana?

Bayu Lukman Yusuf 5:08am Aug 14
coba sekalian nyoba di laptop ane gan.
oh ya saya kan mau bikin kya gini.
ngambil data pengguna dari graph.facebook.com/username gan.
kan pakenya file_get_content.
klo misalkan usernamenya tidak ada itu muncul kaya gini http://prntscr.com/1l5g7c

Bayu Lukman Yusuf 5:09am Aug 14
ane pengennya pas username ga ada muncul pesan "Username Tidak Ada" gitu gan.

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

PHP Indonesia - Facebook: [ask] kalo mau bikin multiple accept gmana ya? ja...

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/ 
[ask] kalo mau bikin multiple accept gmana ya? ja...
Aug 14th 2013, 05:08, by Hardian Hartato

Hardian Hartato 5:08am Aug 14
[ask]
kalo mau bikin multiple accept gmana ya?

jadi data2nya diceklist dlu, lalu diakhir tabel ada tombol accept....
setelh itu disimpan di database
Thanks...

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

PHP Indonesia - Facebook: saya punya variabel : $barang, $pembeli, $kasir, $...

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/ 
saya punya variabel : $barang, $pembeli, $kasir, $...
Aug 14th 2013, 04:34, by Andi Sholihin

Andi Sholihin 4:34am Aug 14
saya punya variabel : $barang, $pembeli, $kasir, $jenis, $nominal, $supplier, $expired, dan $harga. nah karena suatu kondisi, semua variabel itu harus di set null semua. ada gak cara agar semua variabel itu diset sekaligus tanpa diset satu-satu kayak gini :
$barang = null;
$pembeli = null;
$kasir = null;
$jenis = null; dst...

Gunawan Mujur Wibisono 4:49am Aug 14
$barang =
$pembeli =
$kasir =
$jenis = null;

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

PHP Indonesia - Facebook: Permisi gan... ane pake Opencart , sekarang lagi b...

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/ 
Permisi gan... ane pake Opencart , sekarang lagi b...
Aug 14th 2013, 04:22, by Taufik Ramadhan

Taufik Ramadhan 4:22am Aug 14
Permisi gan...
ane pake Opencart , sekarang lagi bikin konfirmasi pembayaran !
untuk saat ini saya mengirim konfirmasi pembayaran masuk kedalam tabel kedalam database,.
dan saya maunya konfirmasi pembayaran dikirim melalui email Admin nya gan ?
apa ada yang tau ato mempunyai tutorial nya ?

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