arhhhh are you saying
Quote:
// lotteryadmin.php, find:
$tickets = $DB_site->num_rows($ticketfetch);
if ($tickets == 0)
{
define('CP_REDIRECT', 'lotteryadmin.php?do=edit');
print_stop_message('rpg_lottery_ticket_error');
}
// Replace:
$tickets = $DB_site->num_rows($ticketfetch);
// With:
$tickets = count($lotteryinfo);
|
because when i move after
Quote:
// move to AFTER the following
$lotteryinfo = $DB_site->fetch_array($ticketfetch);
|
I do not see
Quote:
$tickets = $DB_site->num_rows($ticketfetch);
|
and can you please tell us where exactuly to add the phrase so that it will work?