dear milis, aku punya code sederhana : <?php mysql_connect("localhost","",""); mysql_select_db("coba") $perintah="select * from data where nama like '%rumah'"; $hasil=mysql_query($perintah); $jumlah=mysql_num_rows($hasil); echo ("data yang ditemukan $jumlah"); ?>
jumlah data yang dimasukkan ke database 100, pencarian dengan mysql ditemukan 2 data. tetapi jika dijalankan di browser data yang ditemukan sama dengan jumlah data ya (100)? mohon pencerahannya kira2 apa ada yang salah dengan script nya ya? terima kasih banget. salam, Popo This e-mail message may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this e-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this e-mail message from your computer. -- FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab Unsubscribe: kirim email ke [EMAIL PROTECTED] Arsip dan info milis selengkapnya di http://linux.or.id/milis