<?php
if (isset($_POST['username'], $_POST['userType']==1)){
?>
Parse error: syntax error, unexpected T_IS_EQUAL, expecting ‘,’ or ‘)’ in filename.php
Use && to test for true on both conditions, use || to test for true on just one of the condition.
<?php
if (isset($_POST['username']) && isset($_POST['userType'])){?>
https://www.codingforums.com/php/133411-t_is_equal-problem.html