How do I write this if statement correctly so that the "||" works? || represents "or" by the way. When i take out "|| >30" I receive no syntax error. But when I do include "|| >30" I receive a syntax error saying that ">" is unexpected.
if (strlen($_POST['password']) < 7 || >30){
$errors[] = 'Your password must be 7 to 30 characters long.'