try this:
<?php
$newsPage = isset($_GET['newspage']) ? $_GET['newspage'] : 0;
$photosPage = isset($_GET['photospage']) ? $_GET['photospage'] : 0;
$selectNews = mysqli_query("SELECT `news`.`id`, `news`.`title`, `news`.`date`
FROM `news`
ORDER BY `news`.`date` DESC
LIMIT ".$newsPage."0,10;");
while($news = mysqli_fetch_assoc($selectNews)) {
echo $news['title'].'<br />';
}
$selectPhotos = mysqli_query("SELECT `photos`.`id_photo`, `photos`.`url`, `photos`.`date_photo`
FROM `photos`
ORDER BY `photos`.`date_photo` DESC
LIMIT ".$photosPage."0,10;");
while($photos = mysqli_fetch_assoc($selectPhotos)) {
echo '<img src="'.$photos['url'].'" alt="Image" title="Image" /><br />';
}
Lemme know how it goes.