change to unsigned int for primary keys; misc php details