Just to be clear. It appears that there are 2 ways to reject null hypothesis or fail (accept) to reject it. You can compare the t statistic (for the formula) to the table value of t critical as determined by degrees of freedom and confidence level. OR you can find the p value for the table value of t critical and see if it is less or greater than alpha to reject or fail (accept) to reject null hypothesis?