I have this code:
if($post['maintopics'] == '-1--- Bitte wählen Sie ein Thema aus --' && $post['subtopics'] == 'Bitte wählen Sie erst eine Oberkategorie...') {
echo 'test';
}
On my local Windows it prints "test", the same code on a Linux server does not print "test". I tried logging the values before the if is executed and they are exactly the same as in the if. Any idea why this is not working on my server?
Thanks