Well my problem is the following, my site is configured for android and desktop, there I call the data through the database and I use LIMIT
it shows both "x", I would like to know how to use LIMIT
for desktop value "x" and for android other value, would anyone know how I could do it? here is a piece of my code
<?php
$strSQL = sprintf("SELECT * FROM 'livros' WHERE limita = 'inicio' AND status = 'velho_testamento' LIMIT");
$stmt = $mysql->execute($strSQL);
while($row = $stmt->fetchObject()){
echo '<li><a href="capitulos.php?id_livro='.$row->id_livro.'" class="'.$row->responsive.'">'.$row->nome_livro.'</a></li>';
}
?>