Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. $result = mysql_query('SELECT * FROM `topics` WHERE starter_name="Redaktor" ORDER BY `topics`.`tid` DESC LIMIT 0 , 20 ');
  2. $result2 = mysql_query('SELECT * FROM `posts` WHERE author_name="Redaktor" ORDER BY `posts`.`pid` DESC LIMIT 0 , 20 ');
  3. while ($row = mysql_fetch_array($result))
  4. {
  5. echo '<div id="naglowek2">';
  6. echo("<td><Zmiana: {$row['title']}</td>");
  7. echo '</div>';
  8. }
  9.  
  10. while ($row2 = mysql_fetch_array($result2))
  11. {
  12. echo '<div id="info_zmiana">';
  13. echo("<td><h>{$row2['post']}</h></td>");
  14. echo '</div>';
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement