Contact form 7 hide and show fields depending up on the condition [closed]

I’m not sure about your question. If you want to do an if statement with two conditions, just use && (AND) or || (OR):

if (dropDownText == "United Kingdom" && condition2 == "some") {
  // do something
}

if (dropDownText == "United Kingdom" || condition2 == "some") {
  // do something
}

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