Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $SQLNews = $odb -> query("SELECT `title`,`detail`,`date` FROM `news` ORDER BY `date` DESC LIMIT 5");
- while ($newsInfo = $SQLNews -> fetch(PDO::FETCH_ASSOC))
- {
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement