2
Make a (SELECT COUNT('id') FROM 'imagem')
, take this value and pass it as a parameter in a function. How do?
<?php
require("Configs/connection.php");
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Fotos do Casamento</title>
<link href="css/sl-main.css" rel="stylesheet">
</head>
<body onload="iniciaSlider("Colocar aqui o valor COUNT")">
<div id="moldura"></div>
<input id="abutton" type="button" value="Anterior"
onclick="troca(-1)"/>
<input id="pbutton" type="button" value="Próximo" onclick="troca(1)"/>
<div>
<input id="vbutton" type="button" value="Voltar" onclick="voltar()"/>
</div>
<script src="js/sl-main.js"></script>
</body>
</html>
can you give more information? You have some code?
– novic
Could I show you the full code please ?
– Chefe Druida