Jumat, 04 Oktober 2013

PHP Indonesia - Facebook: para master... tolong pencerahan nya... data yang ...

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/ 
Refresh your vocabulary.

Learn a new word everyday by subscribing to Word of the Day. A great tool if you're studying for the GRE, GMAT or LSAT, or simply want to enhance your lexicon.
From our sponsors
para master... tolong pencerahan nya... data yang ...
Oct 4th 2013, 10:35, by Irfan Atjeh Rayeuk

Irfan Atjeh Rayeuk 10:35am Oct 4
para master...
tolong pencerahan nya...
data yang di databes nya gak mau muncul..
kira2 apa kesalahan nya ya??


<?
$id_tujuan =mysql_query("select * from tujuan");
while($id_tujuan=mysql_fetch_array($id_tujuan)) {
?>
<option value="<?=$id_tujuan[0];?>"><?=$id_tujuan[2];?></option>
<? }?></select>

Gunawan Mujur Wibisono 10:36am Oct 4
coba kasi mysql_error();

Irfan Atjeh Rayeuk 10:37am Oct 4
cara nya sob??

Akhmad Ghozien 10:37am Oct 4
nama kolomnya apa?

Agus Wikamto 10:38am Oct 4
bang, xampp nya versi berapa?

Akhmad Ghozien 10:38am Oct 4
<?php
$id_tujuan=mysql_query("select * from tujuan");
while($tujuan=mysql_fetch_array($id_tujuan)){
?>
<option value="<?php echo $tujuan[0]; ?>"><?php echo $tujuan[2]; ?></option>
<?php
}
?>
</select>

Irham Ramadhan 10:40am Oct 4
Tag pembuka php sm tag echo yg semula ky gni <? Diganti jd <?php,, trus untuk tag <?= diganti menjadi <?php echo

Agus Wikamto 10:42am Oct 4
setuju sama bang irham,, tag <?= itu untuk PHP versi lawas mungkin, CMIIW.. :D

Puzha Fauzha 10:43am Oct 4
masalahnya di $id_tujuan .
itu $id_tujuannya ada 2.
jadi bentrok.
mesin bingung mau manggil variable yang mana ?

Akhmad Ghozien 10:45am Oct 4
<?php
$id_tujuan=mysql_query("select * from
tujuan");
while($tujuan=mysql_fetch_array
($id_tujuan)){
?>
<option value="<?php echo $tujuan[0]; ?
>"><?php echo $tujuan[2]; ?></option>
<?php
}
?>
</select>

Gunawan Christianto 10:47am Oct 4
kayanya di sini deh om:
<option value="<?=$id_tujuan[0];?>"><?=$id_tujuan[2];?></option>
Kurang spasi... jadinya kedetect jadi tag HTML...
harusnya kaya gini:
<option value="<? =$id_tujuan[0]; ?>"><? =$id_tujuan[2]; ?></option>
ato
<option value="<? echo $id_tujuan[0]; ?>"><? echo $id_tujuan[2]; ?></option>

Irfan Atjeh Rayeuk 10:54am Oct 4
bang akhmad ... gak mau tampil data yang di database nya...

Azmy 10:54am Oct 4
<?php
require('koneksi.php');
$id_tujuan =mysql_query("select * from tujuan");
while($data=mysql_fetch_array($id_tujuan)) {
?>
<option value="<?php echo $data[0];?>"><?php echo $data[2];?></option>
<?php }?></select>
---------------------------------------------------------
^_^

Kang Mas Yudi 11:02am Oct 4
Sy spendpat dgn mas gunawan. Eksekusi print out vriabelnya ga ada.
Pkai echo or print jg bs gan.

Gunawan Christianto 11:03am Oct 4
@Kang mas yudi: Tapi pas di Whilenya juga... hhe

Kang Mas Yudi 11:06am Oct 4
Thx gan koreksinya, tp kyanya Ga perlu gan.....

Kan itu ngebaca query. Bukan print out.

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