0, 'deals' => 0, 'open_deals' => 0]; try { $pdo = db(); $stats['contacts'] = $pdo->query("SELECT count(*) FROM contacts")->fetchColumn(); // Deals table doesn't exist yet, so we'll keep it at 0 } catch (PDOException $e) { // Silently fail for now, the contacts page will show a proper error } ?>

Dashboard

Total Contacts

View Contacts
Total Deals

View Deals
Open Deals

View Deals

Welcome to your new CRM!

This is a starting point for your back office. You can now manage your contacts.

Next steps you might want to consider: