eMoneySpace
Welcome, Guest. Please login or register.
Did you miss your activation email?
News: Welcome to eMoneySpace! Oct 05, 2022 01:31 pm




Aurora lottery addon - show names of the winners.
Print
Author Topic: Aurora lottery addon - show names of the winners.  (Read 741 times)
cARRIE
Reputation: (+6)
*

Offline

Posts: 411
Referrals: 0


View Profile WWW
Jul 06, 2010 04:52 pm



Replace this

Quote
$includes[content].="<br><br>Last drawings winners: <br>

<table border=1>

<tr>

<th><center>Round</center></th>

<th><center>1st #</center></th>

<th><center>2nd #</center></th>

<th><center>3rd #</center></th>

<th><center>4th #</center></th>

</tr>";

$result = $Db1->query("SELECT * FROM lottowinners ORDER BY id DESC limit 5");

while($checker = $Db1->fetch_array($result))

{

   $includes[content].="<tr>

   <td><center>{$checker['id']}</center></td>

   <td><center>{$checker[ticket_num1]}</center></td>

   <td><center>{$checker[ticket_num2]}</center></td>

   <td><center>{$checker[ticket_num3]}</center></td>

   <td><center>{$checker[ticket_num4]}</center></td>

   </tr>";

}

with this.

Quote
$includes[content].="<br><br>Last drawings winners: <br>

<table border=1>

<tr>

<th><center>Round</center></th>

<th colspan=2><center>1st #</center></th>

<th colspan=2><center>2nd #</center></th>

<th colspan=2><center>3rd #</center></th>

<th colspan=2><center>4th #</center></th>

</tr>";

$result = $Db1->query("SELECT * FROM lottowinners ORDER BY id DESC limit 5");

while($checker = $Db1->fetch_array($result))

{

   $includes[content].="<tr>

   <td><center>{$checker['id']}</center></td>

   <td><center>{$checker[ticket_num1]}</center></td><td><center>{$checker[username1]}</center></td>

   <td><center>{$checker[ticket_num2]}</center></td><td><center>{$checker[username2]}</center></td>

   <td><center>{$checker[ticket_num3]}</center></td><td><center>{$checker[username3]}</center></td>

   <td><center>{$checker[ticket_num4]}</center></td><td><center>{$checker[username4]}</center></td>

   </tr>";

}

Logged

Print
 
Jump to:  
Copyright © 2008-2022 eMoneySpace. All rights reserved.