Server condition malfunctioning when using != / == Null

condition in serverconnect is executing for

!= null

condition only

$_POST inputs are never null - they are just empty. You can also just compare with the fieldname as condition to see if it is empty or not. No need to compare with null.

So just check:

$_POST.xx - to see if it is entered

or

!$_POST.xx - to see of not entered