Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include 'index.php';
- require 'koneksi.php';
- $berita = mysql_query("SELECT id,url,content FROM 'tb_content' where OREDER BY RAND () LIMIT 5");
- while ($tampil_berita = mysql_fetch_array($berita)){
- echo "<b>ID:</b><br>$tampil_berita [id] <b> url : <br>$tampil_berita [url] <br>";
- echo "$tampil_berita[content]<br>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment