05.12.2015, 20:00
Use this sql: (or something similar)
This is just the concept, You might want to add a WHERE clause to only select tickets by a certain users.
USAGE:
I don't know if this is the best method to do it or not though, Kaperstone might help u more about it...
Код:
SELECT count(*) FROM `table`
USAGE:
PHP код:
$query = mysqli_query($con, "SELECT count(*) FROM `table`");
$row = mysql_fetch_array($query);
$total = $row[0];
echo "Total rows: " . $total;