Kamis, 14 November 2013

PHP Indonesia - Facebook: dear master" PHP, saya ingin menanyakan script up...

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
dear master" PHP, saya ingin menanyakan script up...
Nov 14th 2013, 10:04, by Avrinal ZK-Soft

Avrinal ZK-Soft 10:04am Nov 14
dear master" PHP,

saya ingin menanyakan script upload ini :

<?php
$host = 'localhost';
$user = 'root';
$pass = '';
$conn = mysql_connect($host, $user, $pass);
if(! $conn )
{
die('Could not connect: ' . mysql_error());
}

mysql_select_db('bekasi_70');

$ket=$_GET['keterangan'];
$fileName = $_FILES['gambar1']['name'];

if(isset($_GET[smp_project]))
if(($ket==""))
echo"Please Input Information Project";
else
$cau = move_uploaded_file($_FILES['gambar1']['tmp_name'],'gambar1/'.$fileName);
if($move){
$qql = "INSERT INTO `bekasi_70`.`project` (`nama', `keterangan`) VALUES ('$fileName', '$ket');";

$errr = mysql_query( $qql, $conn );

}
?>

kenapa ya ,,, tidak mau berjalan , tidak ada error , tetapi file tidak terupload ke directory atau pun database .
tolong di bantu ya ,,,

Joy Singgih Yee 10:08am Nov 14
hmmm

Rizki Abriansyah 10:09am Nov 14
yakin itu gak ada error?

Fṛọṃ Ṣụḷṣẹl 10:10am Nov 14
coba file yg dibawah 1 MB...setauku settingan defaultnya itu cuman bias upload file max 1 MB

Lidya Holmes 10:10am Nov 14
$move tuu apaan yaah??

Avrinal ZK-Soft 10:12am Nov 14
maaav ,,,, scriptny tadi ane acak" , lupa d undo .

Avrinal ZK-Soft 10:12am Nov 14
ni bang :
<?php
$host = 'localhost';
$user = 'root';
$pass = '';
$conn = mysql_connect($host, $user, $pass);
if(! $conn )
{
die('Could not connect: ' . mysql_error());
}

mysql_select_db('bekasi_70');

$ket=$_POST['keterangan'];
$fileName = $_FILES['gambar1']['name'];

if(isset($_POST[smp_project]))
if(($ket==""))
echo"Please Input Information Project";
else
$move = move_uploaded_file($_FILES['gambar1']['tmp_name'],'gambar1/'.$fileName);
if($move){
$qql = "INSERT INTO `bekasi_70`.`project` (`nama', `keterangan`) VALUES ('$fileName', '$ket');";

$errr = mysql_query( $qql, $conn );

}
?>

Avrinal ZK-Soft 10:13am Nov 14
bener kok ga muncul error apa ,,,

Avrinal ZK-Soft 10:15am Nov 14
@from: fileny malah cuma 2kb broo

Rizki Abriansyah 10:16am Nov 14
$_POST['smp_project']

Avrinal ZK-Soft 10:16am Nov 14
itu button bang .

Rizki Abriansyah 10:17am Nov 14
button gmn? itu gak pake petik,

Avrinal ZK-Soft 10:19am Nov 14
maaav bang , kelupaan .
heheheh
tapi ,,, tetep sudah ane kasih petik nihil hasilny

Rizki Abriansyah 10:19am Nov 14
coba upload file formnya,

Lionel Harys Hariyanto 10:31am Nov 14
VALUES ('$fileName', '$ket');";
titik komanya kebanyakan

Avrinal ZK-Soft 10:34am Nov 14
tetep bang , ane kurangin 1 , hasilny sama aja.

Lidya Holmes 10:38am Nov 14
coba kalo setiap setelah if dikasi else untuk echo sesuatu..kalo errornya kosongan artinya statement if ga terpenuhi..tapi karena gada else-nya program lngs berhenti.. *mungkin*

Avrinal ZK-Soft 10:40am Nov 14
mav bang $move itu sebenerny $cau , itu belum saya ganti , yg bener ada di barisa komentar .
heheheh :D

Lidya Holmes 10:41am Nov 14
itu juga..trus if(isset($_POST['smp_project'])) gada tanda { yaa?? coba dicek lagi dhe scriptnya..

Christian Rosandhy 10:46am Nov 14
sori tadi rada ketinggalan gan.. :P
Itu kan ada kondisi if($move),, gimana kalo dikasi else juga dibawahnya misalnya,
else{
echo "Gagal mengupload";
}

Avrinal ZK-Soft 10:50am Nov 14
makasih ya ,,, kawan" PHP indonesia .
permasalahanny sudah solved oleh Rizki Abriansyah .
makasih ya ,,, bang .
permasalahannya cuma di sini : form enctype="multipart/form-data"
heheheh

Avrinal ZK-Soft 10:50am Nov 14
:p

Lidya Holmes 10:52am Nov 14
iya yaa,,knapa ga kepikiran nanya form-nya yaak?? *tepok jidat berkali kali*

Avrinal ZK-Soft 10:56am Nov 14
iya ,, bang , ane ja ngerjain dari jam 12 ampe jam segini kaga bisa" , sama bang Rizki Abriansyah cuma butuh waktu 8 menit .
kwkkwwk :p
jadi ,,, malu

Rizki Abriansyah 10:58am Nov 14
mungkin harus sering main2 ke sekolahya web, www.w3schools.com/

Avrinal ZK-Soft 10:59am Nov 14
waaah ,,, saya ga pernah dateng k situ bang .
heheheheh

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: master saya mau nanya, saya punya case saat export...

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/ 
Learn to create beautiful cakes from your kitchen.

Whether you are doing this for fun or to start a new business, this course provides the simple techniques needed to decorate a cake like a pro.
From our sponsors
master saya mau nanya, saya punya case saat export...
Nov 14th 2013, 10:07, by Albiansyah Dimarcha Nurman

Albiansyah Dimarcha Nurman 10:07am Nov 14
master saya mau nanya, saya punya case saat export excel ada data "01" saat sudah di export datanya itu menjadi "1" di excel, bagaimana cara supaya "0" yg di depan "1" itu tidak hilang ?
thanks masterr.. :D

Al Ghurahy 10:19am Nov 14
kasih tanda '

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: [Nanya] Om mw nanya gmana wktu update nilai di re...

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/ 
Fun with Brazilian Portuguese

Learn the tips and tricks to speak colloquial Portuguese in a natural and confident manner. Enroll today for just $69!
From our sponsors
[Nanya] Om mw nanya gmana wktu update nilai di re...
Nov 14th 2013, 10:12, by Local Meaw

Local Meaw 10:12am Nov 14
[Nanya]

Om mw nanya gmana wktu update nilai di record , nilai yang baru itu hasil tambah dari nilai sebelumnya

pengennya kek begini Om

update dingdong set nilai=nilai1+nilai2
where ngok="id";

mohon solusinya Om

Rizki Abriansyah 10:25am Nov 14
nilai sebelumnya d fetch dlu, disimpen trus d tambahin dah,

Al Ghurahy 10:26am Nov 14
set nya ya begini: set nilai1 = nilai1 + nilai2,
ingat: nilai1 di assign dg nilainya sndiri sblmnya dan ditambah nilai2

Local Meaw 10:29am Nov 14
Tenkyu abang master smua =D

Dania Fitriani 10:53am Nov 14
nilai += nilai_baru gbs ya ??

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 Senior-Senior, [ASK] kalo foto di facebook it...

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/ 
Take the Style Quiz

Join JustFab and get one pair of extraordinary shoes or bag every month, handpicked for you by our fashion experts.
From our sponsors
Maaf Senior-Senior, [ASK] kalo foto di facebook it...
Nov 14th 2013, 09:12, by Paul Jhon

Paul Jhon 9:12am Nov 14
Maaf Senior-Senior, [ASK] kalo foto di facebook itu di klik, kan nanti timbul, itu pake apa ya? Mohon petuahnya dan sedikit cuplikan codingnya.. :D Mksh sblumnya

Wirpan Nur Eka Putra 9:14am Nov 14
lightbox :D

Paul Jhon 9:15am Nov 14
lightbox itu bagian dari CSS ya kk? :D

Waranugraha Yogya 9:15am Nov 14
jquery gan

Paul Jhon 9:16am Nov 14
oh bagian dari jquery.. thx.. :D

Waranugraha Yogya 9:16am Nov 14
:)

Paul Jhon 9:18am Nov 14
kalo saya mau buat Menu Login.. bisa kan pake lightbox?
jadi saya klik Menu Login, nanti timbul form login gt? :D

Paul Jhon 9:18am Nov 14
atau khusus image?

Irham Ramadhan 9:20am Nov 14
jquery lightbox gan

Christian Rosandhy 9:27am Nov 14
Bisa gan.. lightbox itu jquery yang bisa dipake utk image atau page..

Irham Ramadhan 9:35am Nov 14
kedua"a juga bisa dipakai 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: gan minta tutornya untuk menampilkan komentar di p...

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/ 
Are you an avid runner? Or even just starting out?

Brooks designs high-performance men's and women's running shoes, apparel and accessories.
From our sponsors
gan minta tutornya untuk menampilkan komentar di p...
Nov 14th 2013, 09:24, by Bay Yu Dhistira

Bay Yu Dhistira 9:24am Nov 14
gan minta tutornya untuk menampilkan komentar di php, kan saya sudah coba bikin dan berhasil tapi salahnya komentar itu tampil di setiap artikel yg saya posting, jadi gimana caranya agar komentar itu cuma tampil di artikel yg dikomentar doang?

Chiem AL-farail 9:35am Nov 14
Pke id kak

Christian Rosandhy 9:39am Nov 14
setiap halaman artikel pasti punya id unik kan? Nah, itu dijadiin field di tabel komentar juga.. Jdnya pas nampilin kira-kira jadi gini :
SELECT * FROM tb_komentar WHERE id=10; (cuma menampilkan komentar dengan id artikel yang bersangkutan)

Al Ghurahy 9:40am Nov 14
pake if() lah,
if ( $posting_tsb == $posting_yg_kamu_maksud)
echo $komentar_postingan_tsb;

Bay Yu Dhistira 9:44am Nov 14
saya sudah coba bikin id artikel difield tabel komentar tapi pas input id artikel ke tabel komentar itu gak tau sintak nya

Christian Rosandhy 9:50am Nov 14
bukannya input id artikel itu pas user masukin komentar ke artikel yang bersangkutan ya?

Bay Yu Dhistira 9:52am Nov 14
iya tapi sintak nya minta saya gan

Christian Rosandhy 9:53am Nov 14
Sintak SQLnya?
INSERT INTO nama_tabel VALUES(nama_field, .., .., .., ..);
Kalo sintaks PHPnya, ya harus disesuaikan sama scriptnya agan dulu.. :D

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: gan klo mau nampilin data pake foreach kan gini ya...

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/ 
Take the Style Quiz

Join JustFab and get one pair of extraordinary shoes or bag every month, handpicked for you by our fashion experts.
From our sponsors
gan klo mau nampilin data pake foreach kan gini ya...
Nov 14th 2013, 09:09, by Addinka Mdv

Addinka Mdv 9:09am Nov 14
gan klo mau nampilin data pake foreach kan gini yah :

foreach($data->departures as $rows)
{
$row=(array)$rows;

foreach($row as $key=>$value)
{
if($key=='image')
{
echo "<td>".$value."</td>";
}

}

}

trus output nya gini :

28556946LIONJT-121138000.001002013-11-04 13:17:181138000.000.000.0013:3016:20NonstopCGK - DPS (13:30 - 16:20)01 h 50 mhttp://www.master18.tiket.com/images/tiket2/icon_lion_2.jpg

klo mau ambil salah satu nya aja..gmn gan...(ga semua ditampilin)

Wirpan Nur Eka Putra 9:17am Nov 14
$rows['nama_field']

Irham Ramadhan 9:17am Nov 14
Gini aja gan, foreach($data as $rows){ $rows['data yang mau ditampilkan']

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] 1.ekstensi ini 'php_zip.dll' untuk apa yaa? ...

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/ 
Own the Game.

Elevate your game with the newest adidas men's soccer footwear and apparel.
From our sponsors
[ask] 1.ekstensi ini 'php_zip.dll' untuk apa yaa? ...
Nov 14th 2013, 09:52, by Achoy Delano Putra Jakarta

Achoy Delano Putra Jakarta 9:52am Nov 14
[ask]
1.ekstensi ini 'php_zip.dll' untuk apa yaa?
2.apakah pada XAMPP1.8.1 blum support untuk extensi ini?

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