this is in relation to some information i want to grab from the database and need help achieving what i am envisioning
the site is http://funkyfaucet.tk
if you click the logo in the upper left sidebar, there is a list of the amount of satoshi
next to each amount, i want to show a badge displaying the number of times that amount has been dispensed, and i'd like for that number to be displayed real time, either dynamically without refreshing the page, or statically upon refresh, and i'm assuming the latter would be easier
i just don't know how to go about setting it up... here's what i'm seeing it almost looking like
<?php
echo "<html>
<div class='list of some sort, ul, or ol?'>
<ol(or ul)>
<li><span class='badge badge-info'>" . $rewardOne . "</span> <strong>100 Satoshis</strong></li>
<li><span class='badge badge-info'>" . $rewardTwo . "</span> <strong>200 Satoshis</strong></li>
etc.
</ol(or /ul)>
</div>
</html>";
?>
i'll put
<?php
array { [
$rewardOne = ("however you would call it from the database? right?";),
$rewardTwo etc
etc
]
}
?>
on another page, but i have no idea if i even have the syntax correct or curly brackets in the right places but i definitely don't know how i would go about getting those numbers from the database in the first place
please help
reach me on https://peerbet.org send an in-site email to funkmaster