Make a (SELECT COUNT('id') FROM 'imagem')
, take this value and pass it as a parameter in a function. How do I?
<?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>