Quote:
Today at 05:29 PM Zzed said this in Post #2
You can shuffle them around and reduce them to 3 statements. 
But it is not much of a gain anyways. 
PHP Code:
$result = $DB_site->query("UPDATE mycounter SET count = count + 1");
$result = $DB_site->query_first("SELECT count FROM mycounter");
$mycounter = number_format($mycounter[count]);
|
This didn't work. My counter was at 0 and never increased.