Guest User

Untitled

a guest
Aug 24th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.42 KB | None | 0 0
  1. $sql = mysql_query("SELECT cclub_themes.id, cclub_themes.name, cclub_posts.id_theme , cclub_posts.login, cclub_posts.time FROM cclub_themes, cclub_posts WHERE cclub_themes.id = cclub_posts.id_theme ORDER BY `time` DESC LIMIT 7");
  2. echo'<div class = "box box-solid"><div class="box-body"><blockquote><p>';
  3.  
  4. while($result=mysql_fetch_array($sql))
  5. {
  6.     echo "$result[name] |<br>";
  7. }
  8. echo' </p></blockquote></div></div>';
Advertisement
Add Comment
Please, Sign In to add comment