kayaknya <input type=checkbox name=daftar[ ] value=$list[id_buku]>
<------------
diganti dengan
<input type='checkbox' name='daftar[]' value='$list[id_buku]'>
jangan lupa petiknya.....
kasiman peranginangin <[EMAIL PROTECTED]> wrote:
$daf nya dari mana mas?
----
tito surya wardhana <[EMAIL PROTECTED]> wrote: gimana caranya untuk
menampilkan data ke window baru dengan javascript window.open.
saya buat script spt ini :
buku.php
<script language=javascript>
function buka(){
window.open('label.php','','widht=300,height=400,scrollbars=yes');
}
<?
include "conn.php";
$data=mysql_query("select * from tb_buku");
while($list=mysql_fetch_array($data))
{
echo "<input type=checkbox name=daftar[]
value=$list[id_buku]>$list[nm_buku]";
}
echo "<input type=button value=cetak onclick=\"javascript:buka()\">";
?>
label.php
<?
foreach($daftar as $daf)
{
echo "$daf<br>";
}
?>
tapi di halaman label.php tidak tampil apa2 tuh.
tolong pls..
thanks
tito
---------------------------------
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and
hotel bargains.
[Non-text portions of this message have been removed]
---------------------------------
Don't get soaked. Take a quick peak at the forecast
with theYahoo! Search weather shortcut.
[Non-text portions of this message have been removed]
---------------------------------
Want to start your own business? Learn how on Yahoo! Small Business.
[Non-text portions of this message have been removed]
--
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia
Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED]
## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ##
## Jaket ITCENTER tersedia di http://shop.itcenter.or.id
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ITCENTER/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ITCENTER/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/