That really depends. In MySQL, when you try to insert a text string that is too long for a varchar(x) field, MySQL just truncates and inserts it anyway, with at most a warning, and no error.
So, if you want to error out when it's too big, then just declare it to be text types and truncate / error out in your PHP code. If you want them to be autotruncated, then declare them as text(225) or varchar(225)