Rekap Freebet Member

Share artikel ini

[insert_php]
require_once(TEMPLATEPATH .”/script/konek.php”);
$query=”select * from tbl_freebet where finish=0″;
$result = mysqli_query($conn, $query);
if (mysqli_num_rows($result) > 0) { // output data of each row
while($row = mysqli_fetch_assoc($result)) {
$freebetid = $row[“id”];
$periodef = $row[“periodef”];
$periodet = $row[“periodet”];
$tgl = $row[“tgl”];
$teama1name = $row[“teama1name”];
$teama2name = $row[“teama2name”];
$teamb1name = $row[“teamb1name”];
$teamb2name = $row[“teamb2name”];
}
}
[/insert_php]

Freebet Event No.  : [insert_php]echo $freebetid;[/insert_php]
Freebet Periode  : [insert_php]echo $periodef;[/insert_php]   hingga   [insert_php]echo $periodet;[/insert_php]

[insert_php]
require_once(TEMPLATEPATH .”/script/konek.php”);
$query=”select * from tbl_freebet_bet where freebetid=”.$freebetid;
$result = mysqli_query($conn, $query);
if (mysqli_num_rows($result) > 0) { // output data of each row
$no=0;
while($row = mysqli_fetch_assoc($result)) {
$no++;
echo “

“;
}
}
[/insert_php]
No.Tanggal / JamUsernameTebak Hasil
“.$no.”“.$row[“waktu”].”“.$row[“username”].”“.$row[“csa”].” – “.$row[“csb”].”