Password minimum length in personal subscription [closed]

You need to use strlen() to determine the length of a variable, so your second if condition is invalid.

As it is, this question is not really related to WordPress, so likely off-topic.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)