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 | | |
Saya lagi butuh skrip buka halaman sensuai hreff: ... Oct 3rd 2013, 08:15, by Ari Ansyah | Saya lagi butuh skrip buka halaman sensuai hreff: data di mysql
Mohon bantuannya, Apakah ini valid?
<?php $result = mysql_query("SELECT url, title FROM links_table ORDER BY RAND() LIMIT 1"); $row = mysql_fetch_row($result); $url = $row[0]; $title = $row[1]; echo "<a href=\"$url\">$title</a>"; ?> |
| | ralat : mksudnya sesuai |
| | Kita panggil aja data'a sesuai yg di database |
| | Udah sesuai kok |
| | proses: klik kata di dbase trus ngebuka halaman php sesuai kata yang di klik , di record itu tersimpan titel, conten, image dsb. |
| | ada yg bisa bantu | | |
|
Tidak ada komentar:
Posting Komentar