Tried fixing triggers/procedures. Added test.php