Using the DB layer

<?php
  include './db.inc';
  include './db_twits.inc';

  $twits = new twits; 
  $twits->save($_POST);
?>