We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28086
    • 1 Posts
    Hi all

    I’m new in MODX. I got some weird problem when i compared 2 strings.

    $isMyVar = (isset($_GET[’webloginmode’]))?$_GET[’webloginmode’]:-1;

    if($isMyVar == ’lo’)
    This line was breaking my layout in IE6.

    If I compare $isMyVar with number loke
    if($isMyVar == -1) or if($isMyVar == 11)
    it goes ok!!!.

    Any hint?