<?php
include 'config.php';
if(isset($_SESSION['agency_id'])) {
    $aid = $_SESSION['agency_id'];
    $conn->query("UPDATE agencies SET posters_generated = posters_generated + 1 WHERE id = $aid");
}
?>