Set to start/default at 0 to prevent undefined errors
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
<?php include("inc_all_reports.php"); ?>
|
<?php include("inc_all_reports.php");
|
||||||
<?php
|
|
||||||
|
|
||||||
$sql_clients = mysqli_query($mysqli,"SELECT * FROM clients WHERE company_id = $session_company_id");
|
$sql_clients = mysqli_query($mysqli,"SELECT * FROM clients WHERE company_id = $session_company_id");
|
||||||
|
|
||||||
@@ -23,6 +22,7 @@ $sql_clients = mysqli_query($mysqli,"SELECT * FROM clients WHERE company_id = $s
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
|
$recurring_total = 0; // Default value
|
||||||
while ($row = mysqli_fetch_array($sql_clients)) {
|
while ($row = mysqli_fetch_array($sql_clients)) {
|
||||||
$client_id = $row['client_id'];
|
$client_id = $row['client_id'];
|
||||||
$client_name = htmlentities($row['client_name']);
|
$client_name = htmlentities($row['client_name']);
|
||||||
|
|||||||
Reference in New Issue
Block a user